Clock_Ip_Selector.c.064i.free-fnsummary1 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769
  1. SetSimTraceSel (const struct Clock_Ip_SelectorConfigType * config)
  2. {
  3. <bb 2> :
  4. SetSimTraceSel_TrustedCall (config_2(D));
  5. return;
  6. }
  7. SetSimTraceSel_TrustedCall (const struct Clock_Ip_SelectorConfigType * config)
  8. {
  9. uint32 selectorValue;
  10. uint32 regValue;
  11. <unnamed type> _1;
  12. unsigned char _2;
  13. struct SIM_Type * _3;
  14. long unsigned int _4;
  15. long unsigned int _5;
  16. struct SIM_Type * _6;
  17. <bb 2> :
  18. _1 = config_8(D)->value;
  19. _2 = selectorEntryPCS_hardwareValue[_1];
  20. selectorValue_9 = (uint32) _2;
  21. _3 = 1074036736B;
  22. regValue_10 ={v} _3->CHIPCTL;
  23. regValue_11 = regValue_10 & 4294963199;
  24. _4 = selectorValue_9 << 12;
  25. _5 = _4 & 4096;
  26. regValue_12 = regValue_11 | _5;
  27. _6 = 1074036736B;
  28. _6->CHIPCTL ={v} regValue_12;
  29. return;
  30. }
  31. ResetSimTraceSel (const struct Clock_Ip_SelectorConfigType * config)
  32. {
  33. <bb 2> :
  34. ResetSimTraceSel_TrustedCall (config_2(D));
  35. return;
  36. }
  37. ResetSimTraceSel_TrustedCall (const struct Clock_Ip_SelectorConfigType * config)
  38. {
  39. uint32 selectorValue;
  40. uint32 regValue;
  41. unsigned char _1;
  42. struct SIM_Type * _2;
  43. long unsigned int _3;
  44. long unsigned int _4;
  45. struct SIM_Type * _5;
  46. <bb 2> :
  47. _1 = selectorEntryPCS_hardwareValue[28];
  48. selectorValue_7 = (uint32) _1;
  49. _2 = 1074036736B;
  50. regValue_8 ={v} _2->CHIPCTL;
  51. regValue_9 = regValue_8 & 4294963199;
  52. _3 = selectorValue_7 << 12;
  53. _4 = _3 & 4096;
  54. regValue_10 = regValue_9 | _4;
  55. _5 = 1074036736B;
  56. _5->CHIPCTL ={v} regValue_10;
  57. return;
  58. }
  59. SetPccPcsSelect (const struct Clock_Ip_SelectorConfigType * config)
  60. {
  61. <bb 2> :
  62. SetPccPcsSelect_TrustedCall (config_2(D));
  63. return;
  64. }
  65. SetPccPcsSelect_TrustedCall (const struct Clock_Ip_SelectorConfigType * config)
  66. {
  67. uint32 selectorValue;
  68. uint32 pccIndex;
  69. uint32 regValue;
  70. <unnamed type> _1;
  71. unsigned char _2;
  72. <unnamed type> _3;
  73. unsigned char _4;
  74. struct PCC_Type * _5;
  75. long unsigned int _6;
  76. long unsigned int _7;
  77. struct PCC_Type * _8;
  78. <bb 2> :
  79. _1 = config_10(D)->name;
  80. _2 = clockFeatures[_1][4];
  81. pccIndex_11 = (uint32) _2;
  82. _3 = config_10(D)->value;
  83. _4 = selectorEntryPCS_hardwareValue[_3];
  84. selectorValue_12 = (uint32) _4;
  85. _5 = 1074155520B;
  86. regValue_13 ={v} _5->PCCn[pccIndex_11];
  87. regValue_14 = regValue_13 & 4177526783;
  88. _6 = selectorValue_12 << 24;
  89. _7 = _6 & 117440512;
  90. regValue_15 = regValue_14 | _7;
  91. _8 = 1074155520B;
  92. _8->PCCn[pccIndex_11] ={v} regValue_15;
  93. return;
  94. }
  95. ResetPccPcsSelect (const struct Clock_Ip_SelectorConfigType * config)
  96. {
  97. <bb 2> :
  98. ResetPccPcsSelect_TrustedCall (config_2(D));
  99. return;
  100. }
  101. ResetPccPcsSelect_TrustedCall (const struct Clock_Ip_SelectorConfigType * config)
  102. {
  103. uint32 pccIndex;
  104. uint32 regValue;
  105. <unnamed type> _1;
  106. unsigned char _2;
  107. struct PCC_Type * _3;
  108. struct PCC_Type * _4;
  109. <bb 2> :
  110. _1 = config_6(D)->name;
  111. _2 = clockFeatures[_1][4];
  112. pccIndex_7 = (uint32) _2;
  113. _3 = 1074155520B;
  114. regValue_8 ={v} _3->PCCn[pccIndex_7];
  115. regValue_9 = regValue_8 & 3103784959;
  116. _4 = 1074155520B;
  117. _4->PCCn[pccIndex_7] ={v} regValue_9;
  118. return;
  119. }
  120. SetSimClkoutSel (const struct Clock_Ip_SelectorConfigType * config)
  121. {
  122. <bb 2> :
  123. SetSimClkoutSel_TrustedCall (config_2(D));
  124. return;
  125. }
  126. SetSimClkoutSel_TrustedCall (const struct Clock_Ip_SelectorConfigType * config)
  127. {
  128. uint32 selectorValue;
  129. uint32 regValue;
  130. <unnamed type> _1;
  131. unsigned char _2;
  132. struct SIM_Type * _3;
  133. long unsigned int _4;
  134. struct SIM_Type * _5;
  135. <bb 2> :
  136. _1 = config_7(D)->value;
  137. _2 = selectorEntry_hardwareValue[_1];
  138. selectorValue_8 = (uint32) _2;
  139. _3 = 1074036736B;
  140. regValue_9 ={v} _3->CHIPCTL;
  141. regValue_10 = regValue_9 & 4294967055;
  142. _4 = selectorValue_8 << 4;
  143. regValue_11 = regValue_10 | _4;
  144. _5 = 1074036736B;
  145. _5->CHIPCTL ={v} regValue_11;
  146. return;
  147. }
  148. ResetSimClkoutSel (const struct Clock_Ip_SelectorConfigType * config)
  149. {
  150. <bb 2> :
  151. ResetSimClkoutSel_TrustedCall (config_2(D));
  152. return;
  153. }
  154. ResetSimClkoutSel_TrustedCall (const struct Clock_Ip_SelectorConfigType * config)
  155. {
  156. uint32 regValue;
  157. struct SIM_Type * _1;
  158. struct SIM_Type * _2;
  159. <bb 2> :
  160. _1 = 1074036736B;
  161. regValue_4 ={v} _1->CHIPCTL;
  162. regValue_5 = regValue_4 & 4294965007;
  163. _2 = 1074036736B;
  164. _2->CHIPCTL ={v} regValue_5;
  165. return;
  166. }
  167. SetSimFtmoptSel (const struct Clock_Ip_SelectorConfigType * config)
  168. {
  169. <bb 2> :
  170. SetSimFtmoptSel_TrustedCall (config_2(D));
  171. return;
  172. }
  173. SetSimFtmoptSel_TrustedCall (const struct Clock_Ip_SelectorConfigType * config)
  174. {
  175. uint32 instance;
  176. uint32 selectorValue;
  177. uint32 regValue;
  178. <unnamed type> _1;
  179. unsigned char _2;
  180. <unnamed type> _3;
  181. unsigned char _4;
  182. struct SIM_Type * _5;
  183. long unsigned int _6;
  184. long unsigned int _7;
  185. long unsigned int _8;
  186. long unsigned int _9;
  187. long unsigned int _10;
  188. long unsigned int _11;
  189. long unsigned int _12;
  190. long unsigned int _13;
  191. long unsigned int _14;
  192. long unsigned int _15;
  193. long unsigned int _16;
  194. long unsigned int _17;
  195. long unsigned int _18;
  196. long unsigned int _19;
  197. long unsigned int _20;
  198. long unsigned int _21;
  199. struct SIM_Type * _22;
  200. <bb 2> :
  201. _1 = config_25(D)->value;
  202. _2 = selectorEntry_hardwareValue[_1];
  203. selectorValue_26 = (uint32) _2;
  204. _3 = config_25(D)->name;
  205. _4 = clockFeatures[_3][0];
  206. instance_27 = (uint32) _4;
  207. _5 = 1074036736B;
  208. regValue_28 ={v} _5->FTMOPT0;
  209. if (instance_27 <= 3)
  210. goto <bb 3>; [INV]
  211. else
  212. goto <bb 4>; [INV]
  213. <bb 3> :
  214. _6 = instance_27 << 1;
  215. _7 = _6 + 24;
  216. _8 = 3 << _7;
  217. _9 = ~_8;
  218. regValue_31 = regValue_28 & _9;
  219. _10 = instance_27 << 1;
  220. _11 = _10 + 24;
  221. _12 = selectorValue_26 << _11;
  222. regValue_32 = regValue_31 | _12;
  223. goto <bb 5>; [INV]
  224. <bb 4> :
  225. _13 = instance_27 + 4294967292;
  226. _14 = _13 << 1;
  227. _15 = _14 + 16;
  228. _16 = 3 << _15;
  229. _17 = ~_16;
  230. regValue_29 = regValue_28 & _17;
  231. _18 = instance_27 + 4294967292;
  232. _19 = _18 << 1;
  233. _20 = _19 + 16;
  234. _21 = selectorValue_26 << _20;
  235. regValue_30 = regValue_29 | _21;
  236. <bb 5> :
  237. # regValue_23 = PHI <regValue_32(3), regValue_30(4)>
  238. _22 = 1074036736B;
  239. _22->FTMOPT0 ={v} regValue_23;
  240. return;
  241. }
  242. ResetSimFtmoptSel (const struct Clock_Ip_SelectorConfigType * config)
  243. {
  244. <bb 2> :
  245. ResetSimFtmoptSel_TrustedCall (config_2(D));
  246. return;
  247. }
  248. ResetSimFtmoptSel_TrustedCall (const struct Clock_Ip_SelectorConfigType * config)
  249. {
  250. uint32 instance;
  251. uint32 selectorValue;
  252. uint32 regValue;
  253. unsigned char _1;
  254. <unnamed type> _2;
  255. unsigned char _3;
  256. struct SIM_Type * _4;
  257. long unsigned int _5;
  258. long unsigned int _6;
  259. long unsigned int _7;
  260. long unsigned int _8;
  261. long unsigned int _9;
  262. long unsigned int _10;
  263. long unsigned int _11;
  264. long unsigned int _12;
  265. long unsigned int _13;
  266. long unsigned int _14;
  267. long unsigned int _15;
  268. long unsigned int _16;
  269. long unsigned int _17;
  270. long unsigned int _18;
  271. long unsigned int _19;
  272. long unsigned int _20;
  273. struct SIM_Type * _21;
  274. <bb 2> :
  275. _1 = selectorEntry_hardwareValue[5];
  276. selectorValue_24 = (uint32) _1;
  277. _2 = config_25(D)->name;
  278. _3 = clockFeatures[_2][0];
  279. instance_26 = (uint32) _3;
  280. _4 = 1074036736B;
  281. regValue_27 ={v} _4->FTMOPT0;
  282. if (instance_26 <= 3)
  283. goto <bb 3>; [INV]
  284. else
  285. goto <bb 4>; [INV]
  286. <bb 3> :
  287. _5 = instance_26 << 1;
  288. _6 = _5 + 24;
  289. _7 = 3 << _6;
  290. _8 = ~_7;
  291. regValue_30 = regValue_27 & _8;
  292. _9 = instance_26 << 1;
  293. _10 = _9 + 24;
  294. _11 = selectorValue_24 << _10;
  295. regValue_31 = regValue_30 | _11;
  296. goto <bb 5>; [INV]
  297. <bb 4> :
  298. _12 = instance_26 + 4294967292;
  299. _13 = _12 << 1;
  300. _14 = _13 + 16;
  301. _15 = 3 << _14;
  302. _16 = ~_15;
  303. regValue_28 = regValue_27 & _16;
  304. _17 = instance_26 + 4294967292;
  305. _18 = _17 << 1;
  306. _19 = _18 + 16;
  307. _20 = selectorValue_24 << _19;
  308. regValue_29 = regValue_28 | _20;
  309. <bb 5> :
  310. # regValue_22 = PHI <regValue_31(3), regValue_29(4)>
  311. _21 = 1074036736B;
  312. _21->FTMOPT0 ={v} regValue_22;
  313. return;
  314. }
  315. SetScgClkoutSel (const struct Clock_Ip_SelectorConfigType * config)
  316. {
  317. <bb 2> :
  318. SetScgClkoutSel_TrustedCall (config_2(D));
  319. return;
  320. }
  321. SetScgClkoutSel_TrustedCall (const struct Clock_Ip_SelectorConfigType * config)
  322. {
  323. uint32 selectorValue;
  324. uint32 regValue;
  325. <unnamed type> _1;
  326. unsigned char _2;
  327. struct SCG_Type * _3;
  328. long unsigned int _4;
  329. struct SCG_Type * _5;
  330. <bb 2> :
  331. _1 = config_7(D)->value;
  332. _2 = selectorEntrySCS_hardwareValue[_1];
  333. selectorValue_8 = (uint32) _2;
  334. _3 = 1074151424B;
  335. regValue_9 ={v} _3->CLKOUTCNFG;
  336. regValue_10 = regValue_9 & 4043309055;
  337. _4 = selectorValue_8 << 24;
  338. regValue_11 = regValue_10 | _4;
  339. _5 = 1074151424B;
  340. _5->CLKOUTCNFG ={v} regValue_11;
  341. return;
  342. }
  343. ResetScgClkoutSel (const struct Clock_Ip_SelectorConfigType * config)
  344. {
  345. <bb 2> :
  346. ResetScgClkoutSel_TrustedCall (config_2(D));
  347. return;
  348. }
  349. ResetScgClkoutSel_TrustedCall (const struct Clock_Ip_SelectorConfigType * config)
  350. {
  351. uint32 selectorValue;
  352. uint32 regValue;
  353. unsigned char _1;
  354. struct SCG_Type * _2;
  355. long unsigned int _3;
  356. struct SCG_Type * _4;
  357. <bb 2> :
  358. _1 = selectorEntrySCS_hardwareValue[5];
  359. selectorValue_6 = (uint32) _1;
  360. _2 = 1074151424B;
  361. regValue_7 ={v} _2->CLKOUTCNFG;
  362. regValue_8 = regValue_7 & 4043309055;
  363. _3 = selectorValue_6 << 24;
  364. regValue_9 = regValue_8 | _3;
  365. _4 = 1074151424B;
  366. _4->CLKOUTCNFG ={v} regValue_9;
  367. return;
  368. }
  369. SetSimLpoSel (const struct Clock_Ip_SelectorConfigType * config)
  370. {
  371. <bb 2> :
  372. SetSimLpoSel_TrustedCall (config_2(D));
  373. return;
  374. }
  375. SetSimLpoSel_TrustedCall (const struct Clock_Ip_SelectorConfigType * config)
  376. {
  377. uint32 selectorValue;
  378. uint32 regValue;
  379. <unnamed type> _1;
  380. unsigned char _2;
  381. struct SIM_Type * _3;
  382. long unsigned int _4;
  383. struct SIM_Type * _5;
  384. <bb 2> :
  385. _1 = config_7(D)->value;
  386. _2 = selectorEntryPCS_hardwareValue[_1];
  387. selectorValue_8 = (uint32) _2;
  388. _3 = 1074036736B;
  389. regValue_9 ={v} _3->LPOCLKS;
  390. regValue_10 = regValue_9 & 4294967283;
  391. _4 = selectorValue_8 << 2;
  392. regValue_11 = regValue_10 | _4;
  393. _5 = 1074036736B;
  394. _5->LPOCLKS ={v} regValue_11;
  395. return;
  396. }
  397. ResetSimLpoSel (const struct Clock_Ip_SelectorConfigType * config)
  398. {
  399. <bb 2> :
  400. ResetSimLpoSel_TrustedCall (config_2(D));
  401. return;
  402. }
  403. ResetSimLpoSel_TrustedCall (const struct Clock_Ip_SelectorConfigType * config)
  404. {
  405. uint32 selectorValue;
  406. uint32 regValue;
  407. unsigned char _1;
  408. struct SIM_Type * _2;
  409. long unsigned int _3;
  410. struct SIM_Type * _4;
  411. <bb 2> :
  412. _1 = selectorEntryPCS_hardwareValue[1];
  413. selectorValue_6 = (uint32) _1;
  414. _2 = 1074036736B;
  415. regValue_7 ={v} _2->LPOCLKS;
  416. regValue_8 = regValue_7 & 4294967283;
  417. _3 = selectorValue_6 << 2;
  418. regValue_9 = regValue_8 | _3;
  419. _4 = 1074036736B;
  420. _4->LPOCLKS ={v} regValue_9;
  421. return;
  422. }
  423. SetSimRtcSel (const struct Clock_Ip_SelectorConfigType * config)
  424. {
  425. <bb 2> :
  426. SetSimRtcSel_TrustedCall (config_2(D));
  427. return;
  428. }
  429. SetSimRtcSel_TrustedCall (const struct Clock_Ip_SelectorConfigType * config)
  430. {
  431. uint32 selectorValue;
  432. uint32 regValue;
  433. <unnamed type> _1;
  434. unsigned char _2;
  435. struct SIM_Type * _3;
  436. long unsigned int _4;
  437. struct SIM_Type * _5;
  438. <bb 2> :
  439. _1 = config_7(D)->value;
  440. _2 = selectorEntry_hardwareValue[_1];
  441. selectorValue_8 = (uint32) _2;
  442. _3 = 1074036736B;
  443. regValue_9 ={v} _3->LPOCLKS;
  444. regValue_10 = regValue_9 & 4294967247;
  445. _4 = selectorValue_8 << 4;
  446. regValue_11 = regValue_10 | _4;
  447. _5 = 1074036736B;
  448. _5->LPOCLKS ={v} regValue_11;
  449. return;
  450. }
  451. ResetSimRtcSel (const struct Clock_Ip_SelectorConfigType * config)
  452. {
  453. <bb 2> :
  454. ResetSimRtcSel_TrustedCall (config_2(D));
  455. return;
  456. }
  457. ResetSimRtcSel_TrustedCall (const struct Clock_Ip_SelectorConfigType * config)
  458. {
  459. uint32 selectorValue;
  460. uint32 regValue;
  461. unsigned char _1;
  462. struct SIM_Type * _2;
  463. long unsigned int _3;
  464. struct SIM_Type * _4;
  465. <bb 2> :
  466. _1 = selectorEntry_hardwareValue[14];
  467. selectorValue_6 = (uint32) _1;
  468. _2 = 1074036736B;
  469. regValue_7 ={v} _2->LPOCLKS;
  470. regValue_8 = regValue_7 & 4294967247;
  471. _3 = selectorValue_6 << 4;
  472. regValue_9 = regValue_8 | _3;
  473. _4 = 1074036736B;
  474. _4->LPOCLKS ={v} regValue_9;
  475. return;
  476. }
  477. SetScgHsrunSel (const struct Clock_Ip_SelectorConfigType * config)
  478. {
  479. <bb 2> :
  480. SetScgHsrunSel_TrustedCall (config_2(D));
  481. return;
  482. }
  483. SetScgHsrunSel_TrustedCall (const struct Clock_Ip_SelectorConfigType * config)
  484. {
  485. uint32 selectorValue;
  486. uint32 regValue;
  487. <unnamed type> _1;
  488. unsigned char _2;
  489. struct SCG_Type * _3;
  490. long unsigned int _4;
  491. long unsigned int _5;
  492. struct SCG_Type * _6;
  493. <bb 2> :
  494. _1 = config_8(D)->value;
  495. _2 = selectorEntrySCS_hardwareValue[_1];
  496. selectorValue_9 = (uint32) _2;
  497. _3 = 1074151424B;
  498. regValue_10 ={v} _3->HCCR;
  499. regValue_11 = regValue_10 & 4043309055;
  500. _4 = selectorValue_9 << 24;
  501. _5 = _4 & 251658240;
  502. regValue_12 = regValue_11 | _5;
  503. _6 = 1074151424B;
  504. _6->HCCR ={v} regValue_12;
  505. return;
  506. }
  507. ResetScgHsrunSel (const struct Clock_Ip_SelectorConfigType * config)
  508. {
  509. <bb 2> :
  510. ResetScgHsrunSel_TrustedCall (config_2(D));
  511. return;
  512. }
  513. ResetScgHsrunSel_TrustedCall (const struct Clock_Ip_SelectorConfigType * config)
  514. {
  515. uint32 selectorValue;
  516. uint32 regValue;
  517. unsigned char _1;
  518. struct SCG_Type * _2;
  519. long unsigned int _3;
  520. long unsigned int _4;
  521. struct SCG_Type * _5;
  522. <bb 2> :
  523. _1 = selectorEntrySCS_hardwareValue[5];
  524. selectorValue_7 = (uint32) _1;
  525. _2 = 1074151424B;
  526. regValue_8 ={v} _2->HCCR;
  527. regValue_9 = regValue_8 & 4043309055;
  528. _3 = selectorValue_7 << 24;
  529. _4 = _3 & 251658240;
  530. regValue_10 = regValue_9 | _4;
  531. _5 = 1074151424B;
  532. _5->HCCR ={v} regValue_10;
  533. return;
  534. }
  535. SetScgVlprSel (const struct Clock_Ip_SelectorConfigType * config)
  536. {
  537. <bb 2> :
  538. SetScgVlprSel_TrustedCall (config_2(D));
  539. return;
  540. }
  541. SetScgVlprSel_TrustedCall (const struct Clock_Ip_SelectorConfigType * config)
  542. {
  543. uint32 selectorValue;
  544. uint32 regValue;
  545. <unnamed type> _1;
  546. unsigned char _2;
  547. struct SCG_Type * _3;
  548. long unsigned int _4;
  549. long unsigned int _5;
  550. struct SCG_Type * _6;
  551. <bb 2> :
  552. _1 = config_8(D)->value;
  553. _2 = selectorEntrySCS_hardwareValue[_1];
  554. selectorValue_9 = (uint32) _2;
  555. _3 = 1074151424B;
  556. regValue_10 ={v} _3->VCCR;
  557. regValue_11 = regValue_10 & 4043309055;
  558. _4 = selectorValue_9 << 24;
  559. _5 = _4 & 251658240;
  560. regValue_12 = regValue_11 | _5;
  561. _6 = 1074151424B;
  562. _6->VCCR ={v} regValue_12;
  563. return;
  564. }
  565. SetScgRunSel (const struct Clock_Ip_SelectorConfigType * config)
  566. {
  567. <bb 2> :
  568. SetScgRunSel_TrustedCall (config_2(D));
  569. return;
  570. }
  571. SetScgRunSel_TrustedCall (const struct Clock_Ip_SelectorConfigType * config)
  572. {
  573. uint32 selectorValue;
  574. uint32 regValue;
  575. <unnamed type> _1;
  576. unsigned char _2;
  577. struct SCG_Type * _3;
  578. long unsigned int _4;
  579. long unsigned int _5;
  580. struct SCG_Type * _6;
  581. <bb 2> :
  582. _1 = config_8(D)->value;
  583. _2 = selectorEntrySCS_hardwareValue[_1];
  584. selectorValue_9 = (uint32) _2;
  585. _3 = 1074151424B;
  586. regValue_10 ={v} _3->RCCR;
  587. regValue_11 = regValue_10 & 4043309055;
  588. _4 = selectorValue_9 << 24;
  589. _5 = _4 & 251658240;
  590. regValue_12 = regValue_11 | _5;
  591. _6 = 1074151424B;
  592. _6->RCCR ={v} regValue_12;
  593. return;
  594. }
  595. ResetScgRunSel (const struct Clock_Ip_SelectorConfigType * config)
  596. {
  597. <bb 2> :
  598. ResetScgRunSel_TrustedCall (config_2(D));
  599. return;
  600. }
  601. ResetScgRunSel_TrustedCall (const struct Clock_Ip_SelectorConfigType * config)
  602. {
  603. uint32 selectorValue;
  604. uint32 regValue;
  605. unsigned char _1;
  606. struct SCG_Type * _2;
  607. long unsigned int _3;
  608. long unsigned int _4;
  609. struct SCG_Type * _5;
  610. <bb 2> :
  611. _1 = selectorEntrySCS_hardwareValue[5];
  612. selectorValue_7 = (uint32) _1;
  613. _2 = 1074151424B;
  614. regValue_8 ={v} _2->RCCR;
  615. regValue_9 = regValue_8 & 4043309055;
  616. _3 = selectorValue_7 << 24;
  617. _4 = _3 & 251658240;
  618. regValue_10 = regValue_9 | _4;
  619. _5 = 1074151424B;
  620. _5->RCCR ={v} regValue_10;
  621. return;
  622. }
  623. Callback_SelectorEmpty (const struct Clock_Ip_SelectorConfigType * config)
  624. {
  625. <bb 2> :
  626. return;
  627. }