Mcu.c.075i.fnsummary 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404
  1. Symbol table:
  2. Mcu_Ipw_SleepOnExit/21 (Mcu_Ipw_SleepOnExit) @06ba5ee0
  3. Type: function
  4. Visibility: external public
  5. References:
  6. Referring:
  7. Availability: not_available
  8. Function flags:
  9. Called by: Mcu_SleepOnExit/11
  10. Calls:
  11. Mcu_Ipw_PerformReset/20 (Mcu_Ipw_PerformReset) @06ba5d20
  12. Type: function
  13. Visibility: external public
  14. References:
  15. Referring:
  16. Availability: not_available
  17. Function flags:
  18. Called by: Mcu_PerformReset/10
  19. Calls:
  20. Mcu_Ipw_GetResetRawValue/19 (Mcu_Ipw_GetResetRawValue) @06ba5b60
  21. Type: function
  22. Visibility: external public
  23. References:
  24. Referring:
  25. Availability: not_available
  26. Function flags:
  27. Called by: Mcu_GetResetRawValue/9
  28. Calls:
  29. Mcu_Ipw_GetResetReason/18 (Mcu_Ipw_GetResetReason) @06ba59a0
  30. Type: function
  31. Visibility: external public
  32. References:
  33. Referring:
  34. Availability: not_available
  35. Function flags:
  36. Called by: Mcu_GetResetReason/8
  37. Calls:
  38. SchM_Exit_Mcu_MCU_EXCLUSIVE_AREA_00/17 (SchM_Exit_Mcu_MCU_EXCLUSIVE_AREA_00) @06ba5700
  39. Type: function
  40. Visibility: external public
  41. References:
  42. Referring:
  43. Availability: not_available
  44. Function flags:
  45. Called by: Mcu_SetMode/6
  46. Calls:
  47. Mcu_Ipw_SetMode/16 (Mcu_Ipw_SetMode) @06ba5620
  48. Type: function
  49. Visibility: external public
  50. References:
  51. Referring:
  52. Availability: not_available
  53. Function flags:
  54. Called by: Mcu_SetMode/6
  55. Calls:
  56. SchM_Enter_Mcu_MCU_EXCLUSIVE_AREA_00/15 (SchM_Enter_Mcu_MCU_EXCLUSIVE_AREA_00) @06ba5540
  57. Type: function
  58. Visibility: external public
  59. References:
  60. Referring:
  61. Availability: not_available
  62. Function flags:
  63. Called by: Mcu_SetMode/6
  64. Calls:
  65. Mcu_Ipw_InitClock/14 (Mcu_Ipw_InitClock) @06ba5380
  66. Type: function
  67. Visibility: external public
  68. References:
  69. Referring:
  70. Availability: not_available
  71. Function flags:
  72. Called by: Mcu_InitClock/5
  73. Calls:
  74. Mcu_Ipw_Init/13 (Mcu_Ipw_Init) @06ba50e0
  75. Type: function
  76. Visibility: external public
  77. References:
  78. Referring:
  79. Availability: not_available
  80. Function flags:
  81. Called by: Mcu_Init/3
  82. Calls:
  83. Mcu_PreCompileConfig/12 (Mcu_PreCompileConfig) @06ba2558
  84. Type: variable
  85. Body removed by symtab_remove_unreachable_nodes
  86. Visibility: external public
  87. References:
  88. Referring: Mcu_Init/3 (addr)
  89. Availability: not_available
  90. Varpool flags: read-only
  91. Mcu_SleepOnExit/11 (Mcu_SleepOnExit) @06b9e2a0
  92. Type: function definition analyzed
  93. Visibility: force_output externally_visible no_reorder public
  94. References:
  95. Referring:
  96. Availability: available
  97. Function flags: body
  98. Called by:
  99. Calls: Mcu_Ipw_SleepOnExit/21
  100. Mcu_PerformReset/10 (Mcu_PerformReset) @06b9eee0
  101. Type: function definition analyzed
  102. Visibility: force_output externally_visible no_reorder public
  103. References: Mcu_pConfigPtr/2 (read)
  104. Referring:
  105. Availability: available
  106. Function flags: body
  107. Called by:
  108. Calls: Mcu_Ipw_PerformReset/20
  109. Mcu_GetResetRawValue/9 (Mcu_GetResetRawValue) @06b9ec40
  110. Type: function definition analyzed
  111. Visibility: force_output externally_visible no_reorder public
  112. References:
  113. Referring:
  114. Availability: available
  115. Function flags: body
  116. Called by:
  117. Calls: Mcu_Ipw_GetResetRawValue/19
  118. Mcu_GetResetReason/8 (Mcu_GetResetReason) @06b9e9a0
  119. Type: function definition analyzed
  120. Visibility: force_output externally_visible no_reorder public
  121. References:
  122. Referring:
  123. Availability: available
  124. Function flags: body
  125. Called by:
  126. Calls: Mcu_Ipw_GetResetReason/18
  127. Mcu_GetPllStatus/7 (Mcu_GetPllStatus) @06b9e700
  128. Type: function definition analyzed
  129. Visibility: force_output externally_visible no_reorder public
  130. References:
  131. Referring:
  132. Availability: available
  133. Function flags: body
  134. Called by:
  135. Calls:
  136. Mcu_SetMode/6 (Mcu_SetMode) @06b9e460
  137. Type: function definition analyzed
  138. Visibility: force_output externally_visible no_reorder public
  139. References: Mcu_pConfigPtr/2 (read)Mcu_au8ModeConfigIds/1 (read)
  140. Referring:
  141. Availability: available
  142. Function flags: body
  143. Called by:
  144. Calls: SchM_Exit_Mcu_MCU_EXCLUSIVE_AREA_00/17 Mcu_Ipw_SetMode/16 SchM_Enter_Mcu_MCU_EXCLUSIVE_AREA_00/15
  145. Mcu_InitClock/5 (Mcu_InitClock) @06b9e1c0
  146. Type: function definition analyzed
  147. Visibility: force_output externally_visible no_reorder public
  148. References: Mcu_pConfigPtr/2 (read)Mcu_au8ClockConfigIds/0 (read)
  149. Referring:
  150. Availability: available
  151. Function flags: body
  152. Called by:
  153. Calls: Mcu_Ipw_InitClock/14
  154. Mcu_InitRamSection/4 (Mcu_InitRamSection) @06c45ee0
  155. Type: function definition analyzed
  156. Visibility: force_output externally_visible no_reorder public
  157. References:
  158. Referring:
  159. Availability: available
  160. Function flags: body
  161. Called by:
  162. Calls:
  163. Mcu_Init/3 (Mcu_Init) @06c45e00
  164. Type: function definition analyzed
  165. Visibility: force_output externally_visible no_reorder public
  166. References: Mcu_pConfigPtr/2 (write)Mcu_PreCompileConfig/12 (addr)Mcu_pConfigPtr/2 (read)Mcu_au8ModeConfigIds/1 (write)Mcu_pConfigPtr/2 (read)Mcu_pConfigPtr/2 (read)Mcu_au8ClockConfigIds/0 (write)Mcu_pConfigPtr/2 (read)Mcu_pConfigPtr/2 (read)
  167. Referring:
  168. Availability: available
  169. Function flags: body
  170. Called by:
  171. Calls: Mcu_Ipw_Init/13
  172. Mcu_pConfigPtr/2 (Mcu_pConfigPtr) @06b99048
  173. Type: variable definition analyzed
  174. Visibility: force_output no_reorder prevailing_def_ironly
  175. References:
  176. Referring: Mcu_SetMode/6 (read)Mcu_Init/3 (read)Mcu_InitClock/5 (read)Mcu_Init/3 (write)Mcu_Init/3 (read)Mcu_Init/3 (read)Mcu_Init/3 (read)Mcu_Init/3 (read)Mcu_PerformReset/10 (read)
  177. Availability: available
  178. Varpool flags:
  179. Mcu_au8ModeConfigIds/1 (Mcu_au8ModeConfigIds) @06c4bf30
  180. Type: variable definition analyzed
  181. Visibility: force_output no_reorder prevailing_def_ironly
  182. References:
  183. Referring: Mcu_Init/3 (write)Mcu_SetMode/6 (read)
  184. Availability: available
  185. Varpool flags:
  186. Mcu_au8ClockConfigIds/0 (Mcu_au8ClockConfigIds) @06c4bea0
  187. Type: variable definition analyzed
  188. Visibility: force_output no_reorder prevailing_def_ironly
  189. References:
  190. Referring: Mcu_Init/3 (write)Mcu_InitClock/5 (read)
  191. Availability: available
  192. Varpool flags:
  193. Mcu_SleepOnExit (Mcu_SleepOnExitType SleepOnExit)
  194. {
  195. <bb 2> :
  196. Mcu_Ipw_SleepOnExit (SleepOnExit_2(D));
  197. return;
  198. }
  199. Mcu_PerformReset ()
  200. {
  201. const struct Mcu_ConfigType * Mcu_pConfigPtr.7_1;
  202. const struct Mcu_HwIPsConfigType * _2;
  203. <bb 2> :
  204. Mcu_pConfigPtr.7_1 = Mcu_pConfigPtr;
  205. _2 = Mcu_pConfigPtr.7_1->Mcu_pHwIPsConfig;
  206. Mcu_Ipw_PerformReset (_2);
  207. return;
  208. }
  209. Mcu_GetResetRawValue ()
  210. {
  211. Mcu_RawResetType RawResetValue;
  212. Mcu_RawResetType D.6028;
  213. Mcu_RawResetType _4;
  214. <bb 2> :
  215. RawResetValue_3 = Mcu_Ipw_GetResetRawValue ();
  216. _4 = RawResetValue_3;
  217. <bb 3> :
  218. <L0>:
  219. return _4;
  220. }
  221. Mcu_GetResetReason ()
  222. {
  223. Mcu_ResetType eResetReason;
  224. Mcu_ResetType D.6026;
  225. Mcu_ResetType _4;
  226. <bb 2> :
  227. eResetReason_3 = Mcu_Ipw_GetResetReason ();
  228. _4 = eResetReason_3;
  229. <bb 3> :
  230. <L0>:
  231. return _4;
  232. }
  233. Mcu_GetPllStatus ()
  234. {
  235. Mcu_PllStatusType ePllStatus;
  236. Mcu_PllStatusType D.6024;
  237. Mcu_PllStatusType _2;
  238. <bb 2> :
  239. ePllStatus_1 = 90;
  240. _2 = ePllStatus_1;
  241. <bb 3> :
  242. <L0>:
  243. return _2;
  244. }
  245. Mcu_SetMode (Mcu_ModeType McuMode)
  246. {
  247. const struct Mcu_ConfigType * Mcu_pConfigPtr.6_1;
  248. const struct Mcu_ModeConfigType[1] * _2;
  249. unsigned char _3;
  250. int _4;
  251. const struct Mcu_ModeConfigType * _5;
  252. <bb 2> :
  253. SchM_Enter_Mcu_MCU_EXCLUSIVE_AREA_00 ();
  254. Mcu_pConfigPtr.6_1 = Mcu_pConfigPtr;
  255. _2 = Mcu_pConfigPtr.6_1->Mcu_apModeConfig;
  256. _3 = Mcu_au8ModeConfigIds[McuMode_8(D)];
  257. _4 = (int) _3;
  258. _5 = &*_2[_4];
  259. Mcu_Ipw_SetMode (_5);
  260. SchM_Exit_Mcu_MCU_EXCLUSIVE_AREA_00 ();
  261. return;
  262. }
  263. Mcu_InitClock (Mcu_ClockType ClockSetting)
  264. {
  265. Std_ReturnType ClockStatus;
  266. Std_ReturnType D.6022;
  267. const struct Mcu_ConfigType * Mcu_pConfigPtr.5_1;
  268. const struct Mcu_ClockConfigType[1] * _2;
  269. unsigned char _3;
  270. int _4;
  271. const struct Mcu_ClockConfigType * _5;
  272. Std_ReturnType _10;
  273. <bb 2> :
  274. Mcu_pConfigPtr.5_1 = Mcu_pConfigPtr;
  275. _2 = Mcu_pConfigPtr.5_1->Mcu_apClockConfig;
  276. _3 = Mcu_au8ClockConfigIds[ClockSetting_7(D)];
  277. _4 = (int) _3;
  278. _5 = &*_2[_4];
  279. Mcu_Ipw_InitClock (_5);
  280. ClockStatus_9 = 0;
  281. _10 = ClockStatus_9;
  282. <bb 3> :
  283. <L0>:
  284. return _10;
  285. }
  286. Mcu_InitRamSection (Mcu_RamSectionType RamSection)
  287. {
  288. Std_ReturnType RamStatus;
  289. Std_ReturnType D.6020;
  290. Std_ReturnType _2;
  291. <bb 2> :
  292. RamStatus_1 = 1;
  293. _2 = RamStatus_1;
  294. <bb 3> :
  295. <L0>:
  296. return _2;
  297. }
  298. Mcu_Init (const struct Mcu_ConfigType * pConfigPtr)
  299. {
  300. uint32 u32NoConfigs;
  301. const struct Mcu_ConfigType * Mcu_pConfigPtr.0_1;
  302. const struct Mcu_ModeConfigType[1] * _2;
  303. long unsigned int _3;
  304. unsigned char _4;
  305. const struct Mcu_ConfigType * Mcu_pConfigPtr.1_5;
  306. long unsigned int _6;
  307. const struct Mcu_ConfigType * Mcu_pConfigPtr.2_7;
  308. const struct Mcu_ClockConfigType[1] * _8;
  309. long unsigned int _9;
  310. unsigned char _10;
  311. const struct Mcu_ConfigType * Mcu_pConfigPtr.3_11;
  312. long unsigned int _12;
  313. const struct Mcu_ConfigType * Mcu_pConfigPtr.4_13;
  314. const struct Mcu_HwIPsConfigType * _14;
  315. <bb 2> :
  316. Mcu_pConfigPtr = &Mcu_PreCompileConfig;
  317. u32NoConfigs_21 = 0;
  318. goto <bb 4>; [INV]
  319. <bb 3> :
  320. Mcu_pConfigPtr.0_1 = Mcu_pConfigPtr;
  321. _2 = Mcu_pConfigPtr.0_1->Mcu_apModeConfig;
  322. _3 = *_2[u32NoConfigs_15].Power_Ip_ModeConfigId;
  323. _4 = (unsigned char) u32NoConfigs_15;
  324. Mcu_au8ModeConfigIds[_3] = _4;
  325. u32NoConfigs_27 = u32NoConfigs_15 + 1;
  326. <bb 4> :
  327. # u32NoConfigs_15 = PHI <u32NoConfigs_21(2), u32NoConfigs_27(3)>
  328. Mcu_pConfigPtr.1_5 = Mcu_pConfigPtr;
  329. _6 = Mcu_pConfigPtr.1_5->Mcu_NoModeConfigs;
  330. if (u32NoConfigs_15 < _6)
  331. goto <bb 3>; [INV]
  332. else
  333. goto <bb 5>; [INV]
  334. <bb 5> :
  335. u32NoConfigs_22 = 0;
  336. goto <bb 7>; [INV]
  337. <bb 6> :
  338. Mcu_pConfigPtr.2_7 = Mcu_pConfigPtr;
  339. _8 = Mcu_pConfigPtr.2_7->Mcu_apClockConfig;
  340. _9 = *_8[u32NoConfigs_16].ClkConfigId;
  341. _10 = (unsigned char) u32NoConfigs_16;
  342. Mcu_au8ClockConfigIds[_9] = _10;
  343. u32NoConfigs_25 = u32NoConfigs_16 + 1;
  344. <bb 7> :
  345. # u32NoConfigs_16 = PHI <u32NoConfigs_22(5), u32NoConfigs_25(6)>
  346. Mcu_pConfigPtr.3_11 = Mcu_pConfigPtr;
  347. _12 = Mcu_pConfigPtr.3_11->Mcu_NoClkConfigs;
  348. if (u32NoConfigs_16 < _12)
  349. goto <bb 6>; [INV]
  350. else
  351. goto <bb 8>; [INV]
  352. <bb 8> :
  353. Mcu_pConfigPtr.4_13 = Mcu_pConfigPtr;
  354. _14 = Mcu_pConfigPtr.4_13->Mcu_pHwIPsConfig;
  355. Mcu_Ipw_Init (_14);
  356. return;
  357. }