Clock_Ip_Data.c 147 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829
  1. /*==================================================================================================
  2. * Project : RTD AUTOSAR 4.4
  3. * Platform : CORTEXM
  4. * Peripheral :
  5. * Dependencies : none
  6. *
  7. * Autosar Version : 4.4.0
  8. * Autosar Revision : ASR_REL_4_4_REV_0000
  9. * Autosar Conf.Variant :
  10. * SW Version : 1.0.0
  11. * Build Version : S32K1_RTD_1_0_0_HF01_D2109_ASR_REL_4_4_REV_0000_20210907
  12. *
  13. * (c) Copyright 2020-2021 NXP Semiconductors
  14. * All Rights Reserved.
  15. *
  16. * NXP Confidential. This software is owned or controlled by NXP and may only be
  17. * used strictly in accordance with the applicable license terms. By expressly
  18. * accepting such terms or by downloading, installing, activating and/or otherwise
  19. * using the software, you are agreeing that you have read, and that you agree to
  20. * comply with and are bound by, such license terms. If you do not agree to be
  21. * bound by the applicable license terms, then you may not retain, install,
  22. * activate or otherwise use the software.
  23. ==================================================================================================*/
  24. /**
  25. * @file Clock_Ip_Data.c
  26. * @version 1.0.0
  27. *
  28. * @brief CLOCK driver implementations.
  29. * @details CLOCK driver implementations.
  30. *
  31. * @addtogroup CLOCK_DRIVER Clock Ip Driver
  32. * @{
  33. */
  34. #include "Clock_Ip_Private.h"
  35. #if (defined(CLOCK_IP_ENABLE_USER_MODE_SUPPORT))
  36. #if (STD_ON == CLOCK_IP_ENABLE_USER_MODE_SUPPORT)
  37. #define USER_MODE_REG_PROT_ENABLED (STD_ON)
  38. #include "RegLockMacros.h"
  39. #endif
  40. #endif /* CLOCK_IP_ENABLE_USER_MODE_SUPPORT */
  41. /*==================================================================================================
  42. SOURCE FILE VERSION INFORMATION
  43. ==================================================================================================*/
  44. #define CLOCK_IP_DATA_VENDOR_ID_C 43
  45. #define CLOCK_IP_DATA_AR_RELEASE_MAJOR_VERSION_C 4
  46. #define CLOCK_IP_DATA_AR_RELEASE_MINOR_VERSION_C 4
  47. #define CLOCK_IP_DATA_AR_RELEASE_REVISION_VERSION_C 0
  48. #define CLOCK_IP_DATA_SW_MAJOR_VERSION_C 1
  49. #define CLOCK_IP_DATA_SW_MINOR_VERSION_C 0
  50. #define CLOCK_IP_DATA_SW_PATCH_VERSION_C 0
  51. /*==================================================================================================
  52. * FILE VERSION CHECKS
  53. ==================================================================================================*/
  54. /* Check if Clock_Ip_Data.c file and Clock_Ip_Private.h file are of the same vendor */
  55. #if (CLOCK_IP_DATA_VENDOR_ID_C != CLOCK_IP_PRIVATE_VENDOR_ID)
  56. #error "Clock_Ip_Data.c and Clock_Ip_Private.h have different vendor ids"
  57. #endif
  58. /* Check if Clock_Ip_Data.c file and Clock_Ip_Private.h file are of the same Autosar version */
  59. #if ((CLOCK_IP_DATA_AR_RELEASE_MAJOR_VERSION_C != CLOCK_IP_PRIVATE_AR_RELEASE_MAJOR_VERSION) || \
  60. (CLOCK_IP_DATA_AR_RELEASE_MINOR_VERSION_C != CLOCK_IP_PRIVATE_AR_RELEASE_MINOR_VERSION) || \
  61. (CLOCK_IP_DATA_AR_RELEASE_REVISION_VERSION_C != CLOCK_IP_PRIVATE_AR_RELEASE_REVISION_VERSION) \
  62. )
  63. #error "AutoSar Version Numbers of Clock_Ip_Data.c and Clock_Ip_Private.h are different"
  64. #endif
  65. /* Check if Clock_Ip_Data.c file and Clock_Ip_Private.h file are of the same Software version */
  66. #if ((CLOCK_IP_DATA_SW_MAJOR_VERSION_C != CLOCK_IP_PRIVATE_SW_MAJOR_VERSION) || \
  67. (CLOCK_IP_DATA_SW_MINOR_VERSION_C != CLOCK_IP_PRIVATE_SW_MINOR_VERSION) || \
  68. (CLOCK_IP_DATA_SW_PATCH_VERSION_C != CLOCK_IP_PRIVATE_SW_PATCH_VERSION) \
  69. )
  70. #error "Software Version Numbers of Clock_Ip_Data.c and Clock_Ip_Private.h are different"
  71. #endif
  72. #if (defined(CLOCK_IP_ENABLE_USER_MODE_SUPPORT))
  73. #if (STD_ON == CLOCK_IP_ENABLE_USER_MODE_SUPPORT)
  74. #ifndef DISABLE_MCAL_INTERMODULE_ASR_CHECK
  75. /* Check if Clock_Ip_Data.c file and RegLockMacros.h file are of the same Autosar version */
  76. #if ((CLOCK_IP_DATA_AR_RELEASE_MAJOR_VERSION_C != REGLOCKMACROS_AR_RELEASE_MAJOR_VERSION) || \
  77. (CLOCK_IP_DATA_AR_RELEASE_MINOR_VERSION_C != REGLOCKMACROS_AR_RELEASE_MINOR_VERSION))
  78. #error "AutoSar Version Numbers of Clock_Ip_Data.c and RegLockMacros.h are different"
  79. #endif
  80. #endif
  81. #endif
  82. #endif /* CLOCK_IP_ENABLE_USER_MODE_SUPPORT */
  83. /*==================================================================================================
  84. LOCAL TYPEDEFS (STRUCTURES, UNIONS, ENUMS)
  85. ==================================================================================================*/
  86. /*==================================================================================================
  87. * LOCAL MACROS
  88. ==================================================================================================*/
  89. #if (defined (CLOCK_IP_S32K118) || defined(CLOCK_IP_S32K116))
  90. #define NO_CALLBACK 0U
  91. #define CLKOUT_SEL_DIV_ENABLE 1U
  92. #define SIRCOSC 1U
  93. #define SYS_OSC 1U
  94. #define CMU 1U
  95. #define MUX_MUL_DIV_GATE 2U
  96. #define SIRCOSC_VLP 2U
  97. #define MUX_GATE 3U
  98. #define ASYNC_DIV1 3U
  99. #define SIRCOSC_STOP 3U
  100. #define ASYNC_DIV2 4U
  101. #define SCS_RUN 4U
  102. #define LPO32K_ENABLE 4U
  103. #define FIRCOSC 4U
  104. #define DIVCORE_RUN 5U
  105. #define SCS_VLPR 5U
  106. #define LPO1K_ENABLE 5U
  107. #define FIRCOSC_VLP 5U
  108. #define DIVCORE_VLPR 6U
  109. #define RTC_SEL 6U
  110. #define GATE 6U
  111. #define FIRCOSC_STOP 6U
  112. #define DIVBUS_RUN 7U
  113. #define LPO_SEL 7U
  114. #define DIVBUS_VLPR 8U
  115. #define CLKOUT_MUX 8U
  116. #define PLAT_GATE 8U
  117. #define DIVSLOW_RUN 9U
  118. #define FTM_MUX 9U
  119. #define DIVSLOW_VLPR 10U
  120. #elif (defined (CLOCK_IP_S32K142W) || defined(CLOCK_IP_S32K144W))
  121. #define NO_CALLBACK 0U
  122. #define CLKOUT_SEL_DIV_ENABLE 1U
  123. #define SIRCOSC 1U
  124. #define SYS_OSC 1U
  125. #define SYS_PLL 1U
  126. #define MUX_MUL_DIV_GATE 2U
  127. #define SIRCOSC_VLP 2U
  128. #define TRACE_SEL_FRAC_ENABLE 3U
  129. #define SIRCOSC_STOP 3U
  130. #define MUX_GATE 4U
  131. #define ASYNC_DIV1 4U
  132. #define FIRCOSC 4U
  133. #define ASYNC_DIV2 5U
  134. #define SCS_RUN 5U
  135. #define LPO32K_ENABLE 5U
  136. #define FIRCOSC_VLP 5U
  137. #define DIVCORE_RUN 6U
  138. #define SCS_VLPR 6U
  139. #define LPO1K_ENABLE 6U
  140. #define FIRCOSC_STOP 6U
  141. #define DIVCORE_VLPR 7U
  142. #define RTC_SEL 7U
  143. #define GATE 7U
  144. #define DIVBUS_RUN 8U
  145. #define LPO_SEL 8U
  146. #define DIVBUS_VLPR 9U
  147. #define CLKOUT_MUX 9U
  148. #define PLAT_GATE 9U
  149. #define DIVSLOW_RUN 10U
  150. #define FTM_MUX 10U
  151. #define DIVSLOW_VLPR 11U
  152. #elif (defined (CLOCK_IP_S32K142) || defined(CLOCK_IP_S32K144) || defined(CLOCK_IP_S32K146) || defined(CLOCK_IP_S32K148))
  153. #define NO_CALLBACK 0U
  154. #define CLKOUT_SEL_DIV_ENABLE 1U
  155. #define SIRCOSC 1U
  156. #define SYS_OSC 1U
  157. #define SYS_PLL 1U
  158. #define MUX_MUL_DIV_GATE 2U
  159. #define SIRCOSC_VLP 2U
  160. #define TRACE_SEL_FRAC_ENABLE 3U
  161. #define SIRCOSC_STOP 3U
  162. #define MUX_GATE 4U
  163. #define ASYNC_DIV1 4U
  164. #define FIRCOSC 4U
  165. #define ASYNC_DIV2 5U
  166. #define SCS_RUN 5U
  167. #define LPO32K_ENABLE 5U
  168. #define FIRCOSC_VLP 5U
  169. #define DIVCORE_RUN 6U
  170. #define SCS_VLPR 6U
  171. #define LPO1K_ENABLE 6U
  172. #define FIRCOSC_STOP 6U
  173. #define DIVCORE_VLPR 7U
  174. #define SCS_HSRUN 7U
  175. #define GATE 7U
  176. #define DIVCORE_HSRUN 8U
  177. #define RTC_SEL 8U
  178. #define DIVBUS_RUN 9U
  179. #define LPO_SEL 9U
  180. #define PLAT_GATE 9U
  181. #define DIVBUS_VLPR 10U
  182. #define CLKOUT_MUX 10U
  183. #define DIVBUS_HSRUN 11U
  184. #define FTM_MUX 11U
  185. #define DIVSLOW_RUN 12U
  186. #define DIVSLOW_VLPR 13U
  187. #define DIVSLOW_HSRUN 14U
  188. #endif
  189. #if defined(FEATURE_CLOCK_IP_HAS_FIRC_MON1_CLK)
  190. #define CMU_FC_0_INSTANCE 0U
  191. #endif
  192. #if defined(FEATURE_CLOCK_IP_HAS_FIRC_MON2_CLK)
  193. #define CMU_FC_1_INSTANCE 1U
  194. #endif
  195. #define DIV_0_INDEX 0U
  196. #define DIV_1_INDEX 1U
  197. #define DIV_2_INDEX 2U
  198. #define DIV_3_INDEX 3U
  199. #define DIV_4_INDEX 4U
  200. #define DIV_5_INDEX 5U
  201. #define DIV_6_INDEX 6U
  202. #define DIV_7_INDEX 7U
  203. #define PCC_32_INDEX 32U
  204. #define PCC_33_INDEX 33U
  205. #define PCC_36_INDEX 36U
  206. #if defined(FEATURE_CLOCK_IP_HAS_FLEXCAN1_CLK)
  207. #define PCC_37_INDEX 37U
  208. #endif
  209. #if defined(FEATURE_CLOCK_IP_HAS_FTM3_CLK)
  210. #define PCC_38_INDEX 38U
  211. #endif
  212. #if defined(FEATURE_CLOCK_IP_HAS_ADC1_CLK)
  213. #define PCC_39_INDEX 39U
  214. #endif
  215. #if defined(FEATURE_CLOCK_IP_HAS_FLEXCAN2_CLK)
  216. #define PCC_43_INDEX 43U
  217. #endif
  218. #define PCC_44_INDEX 44U
  219. #if defined(FEATURE_CLOCK_IP_HAS_LPSPI1_CLK)
  220. #define PCC_45_INDEX 45U
  221. #endif
  222. #if defined(FEATURE_CLOCK_IP_HAS_LPSPI2_CLK)
  223. #define PCC_46_INDEX 46U
  224. #endif
  225. #if defined(FEATURE_CLOCK_IP_HAS_PDB1_CLK)
  226. #define PCC_49_INDEX 49U
  227. #endif
  228. #define PCC_50_INDEX 50U
  229. #define PCC_54_INDEX 54U
  230. #define PCC_55_INDEX 55U
  231. #define PCC_56_INDEX 56U
  232. #define PCC_57_INDEX 57U
  233. #if defined(FEATURE_CLOCK_IP_HAS_FTM2_CLK)
  234. #define PCC_58_INDEX 58U
  235. #endif
  236. #define PCC_59_INDEX 59U
  237. #define PCC_61_INDEX 61U
  238. #if defined(FEATURE_CLOCK_IP_HAS_CMU0_CLK)
  239. #define PCC_62_INDEX 62U
  240. #endif
  241. #if defined(FEATURE_CLOCK_IP_HAS_CMU1_CLK)
  242. #define PCC_63_INDEX 63U
  243. #endif
  244. #define PCC_64_INDEX 64U
  245. #define PCC_73_INDEX 73U
  246. #define PCC_74_INDEX 74U
  247. #define PCC_75_INDEX 75U
  248. #define PCC_76_INDEX 76U
  249. #define PCC_77_INDEX 77U
  250. #if defined(FEATURE_CLOCK_IP_HAS_SAI0_CLK)
  251. #define PCC_84_INDEX 84U
  252. #endif
  253. #if defined(FEATURE_CLOCK_IP_HAS_SAI1_CLK)
  254. #define PCC_85_INDEX 85U
  255. #endif
  256. #define PCC_90_INDEX 90U
  257. #if defined(FEATURE_CLOCK_IP_HAS_EWM0_CLK)
  258. #define PCC_97_INDEX 97U
  259. #endif
  260. #define PCC_102_INDEX 102U
  261. #if defined(FEATURE_CLOCK_IP_HAS_LPI2C1_CLK)
  262. #define PCC_103_INDEX 103U
  263. #endif
  264. #define PCC_106_INDEX 106U
  265. #define PCC_107_INDEX 107U
  266. #if defined(FEATURE_CLOCK_IP_HAS_LPUART2_CLK)
  267. #define PCC_108_INDEX 108U
  268. #endif
  269. #if defined(FEATURE_CLOCK_IP_HAS_FTM4_CLK)
  270. #define PCC_110_INDEX 110U
  271. #endif
  272. #if defined(FEATURE_CLOCK_IP_HAS_FTM5_CLK)
  273. #define PCC_111_INDEX 111U
  274. #endif
  275. #if defined(FEATURE_CLOCK_IP_HAS_FTM6_CLK)
  276. #define PCC_112_INDEX 112U
  277. #endif
  278. #if defined(FEATURE_CLOCK_IP_HAS_FTM7_CLK)
  279. #define PCC_113_INDEX 113U
  280. #endif
  281. #define PCC_115_INDEX 115U
  282. #if defined(FEATURE_CLOCK_IP_HAS_QSPI_CLK)
  283. #define PCC_118_INDEX 118U
  284. #endif
  285. #if defined(FEATURE_CLOCK_IP_HAS_ENET_CLK)
  286. #define PCC_121_INDEX 121U
  287. #endif
  288. #define SIM_PLATCGC_0_INDEX 0U
  289. #define SIM_PLATCGC_1_INDEX 1U
  290. #define SIM_PLATCGC_2_INDEX 2U
  291. #define SIM_PLATCGC_3_INDEX 3U
  292. #define SIM_PLATCGC_4_INDEX 4U
  293. #if (defined (CLOCK_IP_S32K118) || defined(CLOCK_IP_S32K116))
  294. #define SIM_PLATCGC_5_INDEX 5U
  295. #endif
  296. /*==================================================================================================
  297. LOCAL CONSTANTS
  298. ==================================================================================================*/
  299. /*==================================================================================================
  300. LOCAL VARIABLES
  301. ==================================================================================================*/
  302. /*==================================================================================================
  303. GLOBAL CONSTANTS
  304. ==================================================================================================*/
  305. /* Clock start constant section data */
  306. #define MCU_START_SEC_CONST_8
  307. #include "Mcu_MemMap.h"
  308. #if (defined (CLOCK_IP_S32K118) || defined(CLOCK_IP_S32K116))
  309. const uint8 dividerCallbackIndex[ALL_CALLBACKS_COUNT] = {
  310. NO_CALLBACK, /* No callback */
  311. SIM_CLKOUT_DIV, /* CLKOUT_SEL_DIV_ENABLE */
  312. PCC_PCD_FRAC, /* MUX_MUL_DIV_GATE */
  313. SCG_ASYNC_DIV1, /* ASYNC_DIV1 */
  314. SCG_ASYNC_DIV2, /* ASYNC_DIV2 */
  315. SCG_DIVCORE_RUN, /* DIVCORE_RUN */
  316. SCG_DIVCORE_VLPR, /* DIVCORE_VLPR */
  317. SCG_DIVBUS_RUN, /* DIVBUS_RUN */
  318. SCG_DIVBUS_VLPR, /* DIVBUS_VLPR */
  319. SCG_DIVSLOW_RUN, /* DIVSLOW_RUN */
  320. SCG_DIVSLOW_VLPR, /* DIVSLOW_VLPR */
  321. };
  322. const uint8 dividertriggerCallbackIndex[ALL_CALLBACKS_COUNT] = {
  323. NO_CALLBACK, /* No callback */
  324. NO_CALLBACK, /* No callback */
  325. NO_CALLBACK, /* No callback */
  326. NO_CALLBACK, /* No callback */
  327. NO_CALLBACK, /* No callback */
  328. NO_CALLBACK, /* No callback */
  329. NO_CALLBACK, /* No callback */
  330. NO_CALLBACK, /* No callback */
  331. NO_CALLBACK, /* No callback */
  332. NO_CALLBACK, /* No callback */
  333. NO_CALLBACK, /* No callback */
  334. };
  335. const uint8 xoscCallbackIndex[ALL_CALLBACKS_COUNT] = {
  336. NO_CALLBACK, /* No callback */
  337. SOSC_ENABLE, /* SYS_OSC */
  338. NO_CALLBACK, /* No callback */
  339. NO_CALLBACK, /* No callback */
  340. NO_CALLBACK, /* No callback */
  341. NO_CALLBACK, /* No callback */
  342. NO_CALLBACK, /* No callback */
  343. NO_CALLBACK, /* No callback */
  344. NO_CALLBACK, /* No callback */
  345. NO_CALLBACK, /* No callback */
  346. NO_CALLBACK, /* No callback */
  347. };
  348. const uint8 ircoscCallbackIndex[ALL_CALLBACKS_COUNT] = {
  349. NO_CALLBACK, /* No callback */
  350. SIRC_ENABLE, /* SIRCOSC */
  351. SIRC_VLP_ENABLE, /* SIRCOSC_VLP */
  352. SIRC_STOP_ENABLE, /* SIRCOSC_STOP */
  353. FIRC_ENABLE, /* FIRCOSC */
  354. NO_CALLBACK, /* No callback */
  355. NO_CALLBACK, /* No callback */
  356. NO_CALLBACK, /* No callback */
  357. NO_CALLBACK, /* No callback */
  358. NO_CALLBACK, /* No callback */
  359. NO_CALLBACK, /* No callback */
  360. };
  361. const uint8 gateCallbackIndex[ALL_CALLBACKS_COUNT] = {
  362. NO_CALLBACK, /* No callback */
  363. SIM_CLKOUT_ENABLE, /* CLKOUT_SEL_DIV_ENABLE */
  364. PCC_CGC_ENABLE, /* MUX_MUL_DIV_GATE */
  365. PCC_CGC_ENABLE, /* MUX_GATE */
  366. SIM_LPO32K_ENABLE, /* LPO32K_ENABLE */
  367. SIM_LPO1K_ENABLE, /* LPO1K_ENABLE */
  368. PCC_CGC_ENABLE, /* GATE */
  369. NO_CALLBACK, /* No callback */
  370. SIM_PLATCGC_CGC, /* PLAT_GATE */
  371. NO_CALLBACK, /* No callback */
  372. NO_CALLBACK, /* No callback */
  373. };
  374. const uint8 fractional_dividerCallbackIndex[ALL_CALLBACKS_COUNT] = {
  375. NO_CALLBACK, /* No callback */
  376. NO_CALLBACK, /* No callback */
  377. NO_CALLBACK, /* No callback */
  378. NO_CALLBACK, /* No callback */
  379. NO_CALLBACK, /* No callback */
  380. NO_CALLBACK, /* No callback */
  381. NO_CALLBACK, /* No callback */
  382. NO_CALLBACK, /* No callback */
  383. NO_CALLBACK, /* No callback */
  384. NO_CALLBACK, /* No callback */
  385. NO_CALLBACK, /* No callback */
  386. };
  387. const uint8 pllCallbackIndex[ALL_CALLBACKS_COUNT] = {
  388. NO_CALLBACK, /* No callback */
  389. NO_CALLBACK, /* No callback */
  390. NO_CALLBACK, /* No callback */
  391. NO_CALLBACK, /* No callback */
  392. NO_CALLBACK, /* No callback */
  393. NO_CALLBACK, /* No callback */
  394. NO_CALLBACK, /* No callback */
  395. NO_CALLBACK, /* No callback */
  396. NO_CALLBACK, /* No callback */
  397. NO_CALLBACK, /* No callback */
  398. NO_CALLBACK, /* No callback */
  399. };
  400. const uint8 selectorCallbackIndex[ALL_CALLBACKS_COUNT] = {
  401. NO_CALLBACK, /* No callback */
  402. SIM_CLKOUT_SEL, /* CLKOUT_SEL_DIV_ENABLE */
  403. PCC_PCS_SELECT, /* MUX_MUL_DIV_GATE */
  404. PCC_PCS_SELECT, /* MUX_GATE */
  405. SCG_SCS_RUN_SEL, /* SCS_RUN */
  406. SCG_SCS_VLPR_SEL, /* SCS_VLPR */
  407. SIM_RTC_SEL, /* RTC_SEL */
  408. SIM_LPO_SEL, /* LPO_SEL */
  409. SCG_CLKOUT_SEL, /* CLKOUT_MUX */
  410. SIM_FTMOPT_SEL, /* FTM_MUX */
  411. NO_CALLBACK, /* No callback */
  412. };
  413. const uint8 pcfsCallbackIndex[ALL_CALLBACKS_COUNT] = {
  414. NO_CALLBACK, /* No callback */
  415. NO_CALLBACK, /* No callback */
  416. NO_CALLBACK, /* No callback */
  417. NO_CALLBACK, /* No callback */
  418. NO_CALLBACK, /* No callback */
  419. NO_CALLBACK, /* No callback */
  420. NO_CALLBACK, /* No callback */
  421. NO_CALLBACK, /* No callback */
  422. NO_CALLBACK, /* No callback */
  423. NO_CALLBACK, /* No callback */
  424. NO_CALLBACK, /* No callback */
  425. };
  426. const uint8 cmuCallbackIndex[ALL_CALLBACKS_COUNT] = {
  427. NO_CALLBACK, /* No callback */
  428. CMU_FC_FCE_REF_CNT_LFREF_HFREF, /* CMU */
  429. NO_CALLBACK, /* No callback */
  430. NO_CALLBACK, /* No callback */
  431. NO_CALLBACK, /* No callback */
  432. NO_CALLBACK, /* No callback */
  433. NO_CALLBACK, /* No callback */
  434. NO_CALLBACK, /* No callback */
  435. NO_CALLBACK, /* No callback */
  436. NO_CALLBACK, /* No callback */
  437. NO_CALLBACK, /* No callback */
  438. };
  439. #elif (defined (CLOCK_IP_S32K142W) || defined(CLOCK_IP_S32K144W))
  440. const uint8 dividerCallbackIndex[ALL_CALLBACKS_COUNT] = {
  441. NO_CALLBACK, /* No callback */
  442. SIM_CLKOUT_DIV, /* CLKOUT_SEL_DIV_ENABLE */
  443. PCC_PCD_FRAC, /* MUX_MUL_DIV_GATE */
  444. SIM_TRACE_DIV_MUL, /* TRACE_SEL_FRAC_ENABLE */
  445. SCG_ASYNC_DIV1, /* ASYNC_DIV1 */
  446. SCG_ASYNC_DIV2, /* ASYNC_DIV2 */
  447. SCG_DIVCORE_RUN, /* DIVCORE_RUN */
  448. SCG_DIVCORE_VLPR, /* DIVCORE_VLPR */
  449. SCG_DIVBUS_RUN, /* DIVBUS_RUN */
  450. SCG_DIVBUS_VLPR, /* DIVBUS_VLPR */
  451. SCG_DIVSLOW_RUN, /* DIVSLOW_RUN */
  452. SCG_DIVSLOW_VLPR, /* DIVSLOW_VLPR */
  453. };
  454. const uint8 dividertriggerCallbackIndex[ALL_CALLBACKS_COUNT] = {
  455. NO_CALLBACK, /* No callback */
  456. NO_CALLBACK, /* No callback */
  457. NO_CALLBACK, /* No callback */
  458. NO_CALLBACK, /* No callback */
  459. NO_CALLBACK, /* No callback */
  460. NO_CALLBACK, /* No callback */
  461. NO_CALLBACK, /* No callback */
  462. NO_CALLBACK, /* No callback */
  463. NO_CALLBACK, /* No callback */
  464. NO_CALLBACK, /* No callback */
  465. NO_CALLBACK, /* No callback */
  466. NO_CALLBACK, /* No callback */
  467. };
  468. const uint8 xoscCallbackIndex[ALL_CALLBACKS_COUNT] = {
  469. NO_CALLBACK, /* No callback */
  470. SOSC_ENABLE, /* SYS_OSC */
  471. NO_CALLBACK, /* No callback */
  472. NO_CALLBACK, /* No callback */
  473. NO_CALLBACK, /* No callback */
  474. NO_CALLBACK, /* No callback */
  475. NO_CALLBACK, /* No callback */
  476. NO_CALLBACK, /* No callback */
  477. NO_CALLBACK, /* No callback */
  478. NO_CALLBACK, /* No callback */
  479. NO_CALLBACK, /* No callback */
  480. NO_CALLBACK, /* No callback */
  481. };
  482. const uint8 ircoscCallbackIndex[ALL_CALLBACKS_COUNT] = {
  483. NO_CALLBACK, /* No callback */
  484. SIRC_ENABLE, /* SIRCOSC */
  485. SIRC_VLP_ENABLE, /* SIRCOSC_VLP */
  486. SIRC_STOP_ENABLE, /* SIRCOSC_STOP */
  487. FIRC_ENABLE, /* FIRCOSC */
  488. NO_CALLBACK, /* No callback */
  489. NO_CALLBACK, /* No callback */
  490. NO_CALLBACK, /* No callback */
  491. NO_CALLBACK, /* No callback */
  492. NO_CALLBACK, /* No callback */
  493. NO_CALLBACK, /* No callback */
  494. NO_CALLBACK, /* No callback */
  495. };
  496. const uint8 gateCallbackIndex[ALL_CALLBACKS_COUNT] = {
  497. NO_CALLBACK, /* No callback */
  498. SIM_CLKOUT_ENABLE, /* CLKOUT_SEL_DIV_ENABLE */
  499. PCC_CGC_ENABLE, /* MUX_MUL_DIV_GATE */
  500. SIM_TRACE_ENABLE, /* TRACE_SEL_FRAC_ENABLE */
  501. PCC_CGC_ENABLE, /* MUX_GATE */
  502. SIM_LPO32K_ENABLE, /* LPO32K_ENABLE */
  503. SIM_LPO1K_ENABLE, /* LPO1K_ENABLE */
  504. PCC_CGC_ENABLE, /* GATE */
  505. NO_CALLBACK, /* No callback */
  506. SIM_PLATCGC_CGC, /* PLAT_GATE */
  507. NO_CALLBACK, /* No callback */
  508. NO_CALLBACK, /* No callback */
  509. };
  510. const uint8 fractional_dividerCallbackIndex[ALL_CALLBACKS_COUNT] = {
  511. NO_CALLBACK, /* No callback */
  512. NO_CALLBACK, /* No callback */
  513. NO_CALLBACK, /* No callback */
  514. NO_CALLBACK, /* No callback */
  515. NO_CALLBACK, /* No callback */
  516. NO_CALLBACK, /* No callback */
  517. NO_CALLBACK, /* No callback */
  518. NO_CALLBACK, /* No callback */
  519. NO_CALLBACK, /* No callback */
  520. NO_CALLBACK, /* No callback */
  521. NO_CALLBACK, /* No callback */
  522. NO_CALLBACK, /* No callback */
  523. };
  524. const uint8 pllCallbackIndex[ALL_CALLBACKS_COUNT] = {
  525. NO_CALLBACK, /* No callback */
  526. SPLL_ENABLE, /* SYS_PLL */
  527. NO_CALLBACK, /* No callback */
  528. NO_CALLBACK, /* No callback */
  529. NO_CALLBACK, /* No callback */
  530. NO_CALLBACK, /* No callback */
  531. NO_CALLBACK, /* No callback */
  532. NO_CALLBACK, /* No callback */
  533. NO_CALLBACK, /* No callback */
  534. NO_CALLBACK, /* No callback */
  535. NO_CALLBACK, /* No callback */
  536. NO_CALLBACK, /* No callback */
  537. };
  538. const uint8 selectorCallbackIndex[ALL_CALLBACKS_COUNT] = {
  539. NO_CALLBACK, /* No callback */
  540. SIM_CLKOUT_SEL, /* CLKOUT_SEL_DIV_ENABLE */
  541. PCC_PCS_SELECT, /* MUX_MUL_DIV_GATE */
  542. SIM_TRACE_SEL, /* TRACE_SEL_FRAC_ENABLE */
  543. PCC_PCS_SELECT, /* MUX_GATE */
  544. SCG_SCS_RUN_SEL, /* SCS_RUN */
  545. SCG_SCS_VLPR_SEL, /* SCS_VLPR */
  546. SIM_RTC_SEL, /* RTC_SEL */
  547. SIM_LPO_SEL, /* LPO_SEL */
  548. SCG_CLKOUT_SEL, /* CLKOUT_MUX */
  549. SIM_FTMOPT_SEL, /* FTM_MUX */
  550. NO_CALLBACK, /* No callback */
  551. };
  552. const uint8 pcfsCallbackIndex[ALL_CALLBACKS_COUNT] = {
  553. NO_CALLBACK, /* No callback */
  554. NO_CALLBACK, /* No callback */
  555. NO_CALLBACK, /* No callback */
  556. NO_CALLBACK, /* No callback */
  557. NO_CALLBACK, /* No callback */
  558. NO_CALLBACK, /* No callback */
  559. NO_CALLBACK, /* No callback */
  560. NO_CALLBACK, /* No callback */
  561. NO_CALLBACK, /* No callback */
  562. NO_CALLBACK, /* No callback */
  563. NO_CALLBACK, /* No callback */
  564. NO_CALLBACK, /* No callback */
  565. };
  566. const uint8 cmuCallbackIndex[ALL_CALLBACKS_COUNT] = {
  567. NO_CALLBACK, /* No callback */
  568. NO_CALLBACK, /* No callback */
  569. NO_CALLBACK, /* No callback */
  570. NO_CALLBACK, /* No callback */
  571. NO_CALLBACK, /* No callback */
  572. NO_CALLBACK, /* No callback */
  573. NO_CALLBACK, /* No callback */
  574. NO_CALLBACK, /* No callback */
  575. NO_CALLBACK, /* No callback */
  576. NO_CALLBACK, /* No callback */
  577. NO_CALLBACK, /* No callback */
  578. NO_CALLBACK, /* No callback */
  579. };
  580. #elif (defined (CLOCK_IP_S32K142) || defined(CLOCK_IP_S32K144) || defined(CLOCK_IP_S32K146) || defined(CLOCK_IP_S32K148))
  581. const uint8 dividerCallbackIndex[ALL_CALLBACKS_COUNT] = {
  582. NO_CALLBACK, /* No callback */
  583. SIM_CLKOUT_DIV, /* CLKOUT_SEL_DIV_ENABLE */
  584. PCC_PCD_FRAC, /* MUX_MUL_DIV_GATE */
  585. SIM_TRACE_DIV_MUL, /* TRACE_SEL_FRAC_ENABLE */
  586. SCG_ASYNC_DIV1, /* ASYNC_DIV1 */
  587. SCG_ASYNC_DIV2, /* ASYNC_DIV2 */
  588. SCG_DIVCORE_RUN, /* DIVCORE_RUN */
  589. SCG_DIVCORE_VLPR, /* DIVCORE_VLPR */
  590. SCG_DIVCORE_HSRUN, /* DIVCORE_HSRUN */
  591. SCG_DIVBUS_RUN, /* DIVBUS_RUN */
  592. SCG_DIVBUS_VLPR, /* DIVBUS_VLPR */
  593. SCG_DIVBUS_HSRUN, /* DIVBUS_HSRUN */
  594. SCG_DIVSLOW_RUN, /* DIVSLOW_RUN */
  595. SCG_DIVSLOW_VLPR, /* DIVSLOW_VLPR */
  596. SCG_DIVSLOW_HSRUN, /* DIVSLOW_HSRUN */
  597. };
  598. const uint8 dividertriggerCallbackIndex[ALL_CALLBACKS_COUNT] = {
  599. NO_CALLBACK, /* No callback */
  600. NO_CALLBACK, /* No callback */
  601. NO_CALLBACK, /* No callback */
  602. NO_CALLBACK, /* No callback */
  603. NO_CALLBACK, /* No callback */
  604. NO_CALLBACK, /* No callback */
  605. NO_CALLBACK, /* No callback */
  606. NO_CALLBACK, /* No callback */
  607. NO_CALLBACK, /* No callback */
  608. NO_CALLBACK, /* No callback */
  609. NO_CALLBACK, /* No callback */
  610. NO_CALLBACK, /* No callback */
  611. NO_CALLBACK, /* No callback */
  612. NO_CALLBACK, /* No callback */
  613. NO_CALLBACK, /* No callback */
  614. };
  615. const uint8 xoscCallbackIndex[ALL_CALLBACKS_COUNT] = {
  616. NO_CALLBACK, /* No callback */
  617. SOSC_ENABLE, /* SYS_OSC */
  618. NO_CALLBACK, /* No callback */
  619. NO_CALLBACK, /* No callback */
  620. NO_CALLBACK, /* No callback */
  621. NO_CALLBACK, /* No callback */
  622. NO_CALLBACK, /* No callback */
  623. NO_CALLBACK, /* No callback */
  624. NO_CALLBACK, /* No callback */
  625. NO_CALLBACK, /* No callback */
  626. NO_CALLBACK, /* No callback */
  627. NO_CALLBACK, /* No callback */
  628. NO_CALLBACK, /* No callback */
  629. NO_CALLBACK, /* No callback */
  630. NO_CALLBACK, /* No callback */
  631. };
  632. const uint8 ircoscCallbackIndex[ALL_CALLBACKS_COUNT] = {
  633. NO_CALLBACK, /* No callback */
  634. SIRC_ENABLE, /* SIRCOSC */
  635. SIRC_VLP_ENABLE, /* SIRCOSC_VLP */
  636. SIRC_STOP_ENABLE, /* SIRCOSC_STOP */
  637. FIRC_ENABLE, /* FIRCOSC */
  638. NO_CALLBACK, /* No callback */
  639. NO_CALLBACK, /* No callback */
  640. NO_CALLBACK, /* No callback */
  641. NO_CALLBACK, /* No callback */
  642. NO_CALLBACK, /* No callback */
  643. NO_CALLBACK, /* No callback */
  644. NO_CALLBACK, /* No callback */
  645. NO_CALLBACK, /* No callback */
  646. NO_CALLBACK, /* No callback */
  647. NO_CALLBACK, /* No callback */
  648. };
  649. const uint8 gateCallbackIndex[ALL_CALLBACKS_COUNT] = {
  650. NO_CALLBACK, /* No callback */
  651. SIM_CLKOUT_ENABLE, /* CLKOUT_SEL_DIV_ENABLE */
  652. PCC_CGC_ENABLE, /* MUX_MUL_DIV_GATE */
  653. SIM_TRACE_ENABLE, /* TRACE_SEL_FRAC_ENABLE */
  654. PCC_CGC_ENABLE, /* MUX_GATE */
  655. SIM_LPO32K_ENABLE, /* LPO32K_ENABLE */
  656. SIM_LPO1K_ENABLE, /* LPO1K_ENABLE */
  657. PCC_CGC_ENABLE, /* GATE */
  658. NO_CALLBACK, /* No callback */
  659. SIM_PLATCGC_CGC, /* PLAT_GATE */
  660. NO_CALLBACK, /* No callback */
  661. NO_CALLBACK, /* No callback */
  662. NO_CALLBACK, /* No callback */
  663. NO_CALLBACK, /* No callback */
  664. NO_CALLBACK, /* No callback */
  665. };
  666. const uint8 fractional_dividerCallbackIndex[ALL_CALLBACKS_COUNT] = {
  667. NO_CALLBACK, /* No callback */
  668. NO_CALLBACK, /* No callback */
  669. NO_CALLBACK, /* No callback */
  670. NO_CALLBACK, /* No callback */
  671. NO_CALLBACK, /* No callback */
  672. NO_CALLBACK, /* No callback */
  673. NO_CALLBACK, /* No callback */
  674. NO_CALLBACK, /* No callback */
  675. NO_CALLBACK, /* No callback */
  676. NO_CALLBACK, /* No callback */
  677. NO_CALLBACK, /* No callback */
  678. NO_CALLBACK, /* No callback */
  679. NO_CALLBACK, /* No callback */
  680. NO_CALLBACK, /* No callback */
  681. NO_CALLBACK, /* No callback */
  682. };
  683. const uint8 pllCallbackIndex[ALL_CALLBACKS_COUNT] = {
  684. NO_CALLBACK, /* No callback */
  685. SPLL_ENABLE, /* SYS_PLL */
  686. NO_CALLBACK, /* No callback */
  687. NO_CALLBACK, /* No callback */
  688. NO_CALLBACK, /* No callback */
  689. NO_CALLBACK, /* No callback */
  690. NO_CALLBACK, /* No callback */
  691. NO_CALLBACK, /* No callback */
  692. NO_CALLBACK, /* No callback */
  693. NO_CALLBACK, /* No callback */
  694. NO_CALLBACK, /* No callback */
  695. NO_CALLBACK, /* No callback */
  696. NO_CALLBACK, /* No callback */
  697. NO_CALLBACK, /* No callback */
  698. NO_CALLBACK, /* No callback */
  699. };
  700. const uint8 selectorCallbackIndex[ALL_CALLBACKS_COUNT] = {
  701. NO_CALLBACK, /* No callback */
  702. SIM_CLKOUT_SEL, /* CLKOUT_SEL_DIV_ENABLE */
  703. PCC_PCS_SELECT, /* MUX_MUL_DIV_GATE */
  704. SIM_TRACE_SEL, /* TRACE_SEL_FRAC_ENABLE */
  705. PCC_PCS_SELECT, /* MUX_GATE */
  706. SCG_SCS_RUN_SEL, /* SCS_RUN */
  707. SCG_SCS_VLPR_SEL, /* SCS_VLPR */
  708. SCG_SCS_HSRUN_SEL, /* SCS_HSRUN */
  709. SIM_RTC_SEL, /* RTC_SEL */
  710. SIM_LPO_SEL, /* LPO_SEL */
  711. SCG_CLKOUT_SEL, /* CLKOUT_MUX */
  712. SIM_FTMOPT_SEL, /* FTM_MUX */
  713. NO_CALLBACK, /* No callback */
  714. NO_CALLBACK, /* No callback */
  715. NO_CALLBACK, /* No callback */
  716. };
  717. const uint8 pcfsCallbackIndex[ALL_CALLBACKS_COUNT] = {
  718. NO_CALLBACK, /* No callback */
  719. NO_CALLBACK, /* No callback */
  720. NO_CALLBACK, /* No callback */
  721. NO_CALLBACK, /* No callback */
  722. NO_CALLBACK, /* No callback */
  723. NO_CALLBACK, /* No callback */
  724. NO_CALLBACK, /* No callback */
  725. NO_CALLBACK, /* No callback */
  726. NO_CALLBACK, /* No callback */
  727. NO_CALLBACK, /* No callback */
  728. NO_CALLBACK, /* No callback */
  729. NO_CALLBACK, /* No callback */
  730. NO_CALLBACK, /* No callback */
  731. NO_CALLBACK, /* No callback */
  732. NO_CALLBACK, /* No callback */
  733. };
  734. const uint8 cmuCallbackIndex[ALL_CALLBACKS_COUNT] = {
  735. NO_CALLBACK, /* No callback */
  736. NO_CALLBACK, /* No callback */
  737. NO_CALLBACK, /* No callback */
  738. NO_CALLBACK, /* No callback */
  739. NO_CALLBACK, /* No callback */
  740. NO_CALLBACK, /* No callback */
  741. NO_CALLBACK, /* No callback */
  742. NO_CALLBACK, /* No callback */
  743. NO_CALLBACK, /* No callback */
  744. NO_CALLBACK, /* No callback */
  745. NO_CALLBACK, /* No callback */
  746. NO_CALLBACK, /* No callback */
  747. NO_CALLBACK, /* No callback */
  748. NO_CALLBACK, /* No callback */
  749. NO_CALLBACK, /* No callback */
  750. };
  751. #endif
  752. /* Clock features mapping */
  753. const uint8 clockFeatures[CLOCK_NAMES_NO][CLOCK_FEATURES_NO] =
  754. /* \
  755. ************************************************************************************************************************************************************************************************************************************************* \
  756. ********************************************* **************** **************** E ******************** ************* ************* ************* ***************** ************** ************* \
  757. ********************************************* I **************** C **************** X ******************** ************* S ************* D ************* ***************** ************** ************* \
  758. ********************************************* N **************** A **************** T ******************** P ************* E ************* I ************* G ***************** P ************** ************* \
  759. ********************************************* S **************** L **************** E ******************** O ************* L ************* V ************* A ***************** C ************** C ************* \
  760. ********************************************* T **************** L **************** N ******************** W ************* E ************* I ************* T ***************** F ************** M ************* \
  761. ********************************************* A **************** B **************** S ******************** E ************* C ************* D ************* E ***************** S ************** U ************* \
  762. ********************************************* N **************** A **************** I ******************** R ************* T ************* E ************* ***************** ************** ************* \
  763. ********************************************* C **************** C **************** O ******************** ************* O ************* R ************* ***************** ************** ************* \
  764. ********************************************* E **************** K **************** N ******************** ************* R ************* ************* ***************** ************** ************* \
  765. ********************************************* **************** **************** ******************* ************* ************* ************* ***************** ************** ************* \
  766. ***********************************************************************************************************************************************************************************************************************************************/
  767. {
  768. /* CLOCK_IS_OFF clock */ {0U, NO_CALLBACK, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* CLOCK_IS_OFF */
  769. /* LPO_128K_CLK clock */ {0U, NO_CALLBACK, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* LPO_128K_CLK clock */
  770. /* SIRC_CLK clock */ {0U, SIRCOSC, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* SIRC_CLK clock */
  771. /* SIRC_VLP_CLK clock */ {0U, SIRCOSC_VLP, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* SIRC_VLP_CLK clock */
  772. /* SIRC_STOP_CLK clock */ {0U, SIRCOSC_STOP, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* SIRC_STOP_CLK clock */
  773. /* FIRC_CLK clock */ {0U, FIRCOSC, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* FIRC_CLK clock */
  774. /* FIRC_VLP_CLK clock */ {0U, FIRCOSC_VLP, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* FIRC_VLP_CLK clock */
  775. /* FIRC_STOP_CLK clock */ {0U, FIRCOSC_STOP, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* FIRC_STOP_CLK clock */
  776. /* SOSC_CLK clock */ {0U, SYS_OSC, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* SOSC_CLK clock */
  777. #if defined(FEATURE_CLOCK_IP_HAS_SPLL_CLK)
  778. /* SPLL_CLK clock */ {0U, SYS_PLL, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* SPLL_CLK clock */
  779. #endif
  780. /* SIRCDIV1_CLK clock */ {0U, ASYNC_DIV1, 0U, 0U, 0U, DIV_0_INDEX, 0U, 0U, 0U}, /* SIRCDIV1_CLK clock */
  781. /* SIRCDIV2_CLK clock */ {0U, ASYNC_DIV2, 0U, 0U, 0U, DIV_1_INDEX, 0U, 0U, 0U}, /* SIRCDIV2_CLK clock */
  782. /* FIRCDIV1_CLK clock */ {1U, ASYNC_DIV1, 0U, 0U, 0U, DIV_2_INDEX, 0U, 0U, 0U}, /* FIRCDIV1_CLK clock */
  783. /* FIRCDIV2_CLK clock */ {1U, ASYNC_DIV2, 0U, 0U, 0U, DIV_3_INDEX, 0U, 0U, 0U}, /* FIRCDIV2_CLK clock */
  784. /* SOSCDIV1_CLK clock */ {2U, ASYNC_DIV1, 0U, 0U, 0U, DIV_4_INDEX, 0U, 0U, 0U}, /* SOSCDIV1_CLK clock */
  785. /* SOSCDIV2_CLK clock */ {2U, ASYNC_DIV2, 0U, 0U, 0U, DIV_5_INDEX, 0U, 0U, 0U}, /* SOSCDIV2_CLK clock */
  786. #if defined(FEATURE_CLOCK_IP_HAS_SPLLDIV1_CLK)
  787. /* SPLLDIV1_CLK clock */ {3U, ASYNC_DIV1, 0U, 0U, 0U, DIV_6_INDEX, 0U, 0U, 0U}, /* SPLLDIV1_CLK clock */
  788. #endif
  789. #if defined(FEATURE_CLOCK_IP_HAS_SPLLDIV2_CLK)
  790. /* SPLLDIV2_CLK clock */ {3U, ASYNC_DIV2, 0U, 0U, 0U, DIV_7_INDEX, 0U, 0U, 0U}, /* SPLLDIV2_CLK clock */
  791. #endif
  792. /* LPO_32K_CLK clock */ {0U, LPO32K_ENABLE, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* LPO_32K_CLK clock */
  793. /* LPO_1K_CLK clock */ {0U, LPO1K_ENABLE, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* LPO_1K_CLK clock */
  794. /* TCLK0_REF_CLK clock */ {0U, NO_CALLBACK, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* tclk0_ref clock */
  795. /* TCLK1_REF_CLK clock */ {0U, NO_CALLBACK, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* tclk1_ref clock */
  796. /* TCLK2_REF_CLK clock */ {0U, NO_CALLBACK, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* tclk2_ref clock */
  797. /* RTC_CLKIN clock */ {0U, NO_CALLBACK, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* rtc_clkin clock */
  798. /* SCS_CLK clock */ {0U, NO_CALLBACK, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* SCS_CLK clock */
  799. /* SCS_RUN_CLK clock */ {0U, SCS_RUN, 0U, (uint8)RUN_MODE, 0U, 0U, 0U, 0U, 0U}, /* SCS_RUN_CLK clock */
  800. /* SCS_VLPR_CLK clock */ {0U, SCS_VLPR, 0U, (uint8)VLPR_MODE, 0U, 0U, 0U, 0U, 0U}, /* SCS_VLPR_CLK clock */
  801. #if defined(FEATURE_CLOCK_IP_HAS_SCS_HSRUN_CLK)
  802. /* SCS_HSRUN_CLK clock */ {0U, SCS_HSRUN, 0U, (uint8)HSRUN_MODE, 0U, 0U, 0U, 0U, 0U}, /* SCS_HSRUN_CLK clock */
  803. #endif
  804. /* CORE_CLK clock */ {0U, NO_CALLBACK, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* CORE_CLK clock */
  805. /* CORE_RUN_CLK clock */ {0U, DIVCORE_RUN, 0U, (uint8)RUN_MODE, 0U, 0U, 0U, 0U, 0U}, /* CORE_RUN_CLK clock */
  806. /* CORE_VLPR_CLK clock */ {0U, DIVCORE_VLPR, 0U, (uint8)VLPR_MODE, 0U, 0U, 0U, 0U, 0U}, /* CORE_VLPR_CLK clock */
  807. #if defined(FEATURE_CLOCK_IP_HAS_CORE_HSRUN_CLK)
  808. /* CORE_HSRUN_CLK clock */ {0U, DIVCORE_HSRUN, 0U, (uint8)HSRUN_MODE, 0U, 0U, 0U, 0U, 0U}, /* CORE_HSRUN_CLK clock */
  809. #endif
  810. /* BUS_CLK clock */ {0U, NO_CALLBACK, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* BUS_CLK clock */
  811. /* BUS_RUN_CLK clock */ {0U, DIVBUS_RUN, 0U, (uint8)RUN_MODE, 0U, 0U, 0U, 0U, 0U}, /* BUS_RUN_CLK clock */
  812. /* BUS_VLPR_CLK clock */ {0U, DIVBUS_VLPR, 0U, (uint8)VLPR_MODE, 0U, 0U, 0U, 0U, 0U}, /* BUS_VLPR_CLK clock */
  813. #if defined(FEATURE_CLOCK_IP_HAS_BUS_HSRUN_CLK)
  814. /* BUS_HSRUN_CLK clock */ {0U, DIVBUS_HSRUN, 0U, (uint8)HSRUN_MODE, 0U, 0U, 0U, 0U, 0U}, /* BUS_HSRUN_CLK clock */
  815. #endif
  816. /* SLOW_CLK clock */ {0U, NO_CALLBACK, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* SLOW_CLK clock */
  817. /* SLOW_RUN_CLK clock */ {0U, DIVSLOW_RUN, 0U, (uint8)RUN_MODE, 0U, 0U, 0U, 0U, 0U}, /* SLOW_RUN_CLK clock */
  818. /* SLOW_VLPR_CLK clock */ {0U, DIVSLOW_VLPR, 0U, (uint8)VLPR_MODE, 0U, 0U, 0U, 0U, 0U}, /* SLOW_VLPR_CLK clock */
  819. #if defined(FEATURE_CLOCK_IP_HAS_SLOW_HSRUN_CLK)
  820. /* SLOW_HSRUN_CLK clock */ {0U, DIVSLOW_HSRUN, 0U, (uint8)HSRUN_MODE, 0U, 0U, 0U, 0U, 0U}, /* SLOW_HSRUN_CLK clock */
  821. #endif
  822. /* RTC_CLK clock */ {0U, RTC_SEL, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* RTC_CLK clock */
  823. /* LPO_CLK clock */ {0U, LPO_SEL, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* LPO_CLK clock */
  824. /* SCG_CLKOUT_CLK clock */ {0U, CLKOUT_MUX, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* SCG_CLKOUT_CLK clock */
  825. /* FTM0_EXT_CLK clock */ {0U, FTM_MUX, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* FTM0_EXT_CLK clock */
  826. /* FTM1_EXT_CLK clock */ {1U, FTM_MUX, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* FTM1_EXT_CLK clock */
  827. #if defined(FEATURE_CLOCK_IP_HAS_FTM2_EXT_CLK)
  828. /* FTM2_EXT_CLK clock */ {2U, FTM_MUX, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* FTM2_EXT_CLK clock */
  829. #endif
  830. #if defined(FEATURE_CLOCK_IP_HAS_FTM3_EXT_CLK)
  831. /* FTM3_EXT_CLK clock */ {3U, FTM_MUX, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* FTM3_EXT_CLK clock */
  832. #endif
  833. #if defined(FEATURE_CLOCK_IP_HAS_FTM4_EXT_CLK)
  834. /* FTM4_EXT_CLK clock */ {4U, FTM_MUX, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* FTM4_EXT_CLK clock */
  835. #endif
  836. #if defined(FEATURE_CLOCK_IP_HAS_FTM5_EXT_CLK)
  837. /* FTM5_EXT_CLK clock */ {5U, FTM_MUX, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* FTM5_EXT_CLK clock */
  838. #endif
  839. #if defined(FEATURE_CLOCK_IP_HAS_FTM6_EXT_CLK)
  840. /* FTM6_EXT_CLK clock */ {6U, FTM_MUX, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* FTM6_EXT_CLK clock */
  841. #endif
  842. #if defined(FEATURE_CLOCK_IP_HAS_FTM7_EXT_CLK)
  843. /* FTM7_EXT_CLK clock */ {7U, FTM_MUX, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* FTM7_EXT_CLK clock */
  844. #endif
  845. /* THE_LAST_PRODUCER_CLK */ {0U, NO_CALLBACK, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* THE_LAST_PRODUCER_CLK */
  846. /* ADC0_CLK clock */ {0U, MUX_GATE, 0U, 0U, PCC_59_INDEX, 0U, PCC_59_INDEX, 0U, 0U}, /* ADC0_CLK clock */
  847. #if defined(FEATURE_CLOCK_IP_HAS_ADC1_CLK)
  848. /* ADC1_CLK clock */ {0U, MUX_GATE, 0U, 0U, PCC_39_INDEX, 0U, PCC_39_INDEX, 0U, 0U}, /* ADC1_CLK clock */
  849. #endif
  850. /* CLKOUT0_CLK clock */ {0U, CLKOUT_SEL_DIV_ENABLE, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* CLKOUT0_CLK clock */
  851. /* CMP0_CLK clock */ {0U, GATE, 0U, 0U, 0U, 0U, PCC_115_INDEX, 0U, 0U}, /* CMP0_CLK clock */
  852. #if defined(FEATURE_CLOCK_IP_HAS_CMU0_CLK)
  853. /* CMU0_CLK clock */ {0U, GATE, 0U, 0U, 0U, 0U, PCC_62_INDEX, 0U, 0U}, /* CMU0_CLK clock */
  854. #endif
  855. #if defined(FEATURE_CLOCK_IP_HAS_CMU1_CLK)
  856. /* CMU1_CLK clock */ {0U, GATE, 0U, 0U, 0U, 0U, PCC_63_INDEX, 0U, 0U}, /* CMU1_CLK clock */
  857. #endif
  858. /* CRC0_CLK clock */ {0U, GATE, 0U, 0U, 0U, 0U, PCC_50_INDEX, 0U, 0U}, /* CRC0_CLK clock */
  859. /* DMA0_CLK clock */ {0U, PLAT_GATE, 0U, 0U, 0U, 0U, SIM_PLATCGC_2_INDEX, 0U, 0U}, /* DMA0_CLK clock */
  860. /* DMAMUX0_CLK clock */ {0U, GATE, 0U, 0U, 0U, 0U, PCC_33_INDEX, 0U, 0U}, /* DMAMUX0_CLK clock */
  861. /* EIM0_CLK clock */ {0U, PLAT_GATE, 0U, 0U, 0U, 0U, SIM_PLATCGC_4_INDEX, 0U, 0U}, /* EIM0_CLK clock */
  862. #if defined(FEATURE_CLOCK_IP_HAS_ENET_CLK)
  863. /* ENET_CLK clock */ {0U, MUX_MUL_DIV_GATE, 0U, 0U, PCC_121_INDEX, PCC_121_INDEX, PCC_121_INDEX, 0U, 0U}, /* ENET_CLK clock */
  864. #endif
  865. /* ERM0_CLK clock */ {0U, PLAT_GATE, 0U, 0U, 0U, 0U, SIM_PLATCGC_3_INDEX, 0U, 0U}, /* ERM0_CLK clock */
  866. #if defined(FEATURE_CLOCK_IP_HAS_EWM0_CLK)
  867. /* EWM0_CLK clock */ {0U, GATE, 0U, 0U, 0U, 0U, PCC_97_INDEX, 0U, 0U}, /* EWM0_CLK clock */
  868. #endif
  869. #if defined(FEATURE_CLOCK_IP_HAS_FIRC_MON1_CLK)
  870. /* FIRC_MON1_CLK clock */ {0U, CMU, 0U, 0U, 0U, 0U, 0U, 0U, CMU_FC_0_INSTANCE}, /* FIRC_MON1_CLK clock */
  871. #endif
  872. #if defined(FEATURE_CLOCK_IP_HAS_FIRC_MON2_CLK)
  873. /* FIRC_MON2_CLK clock */ {0U, CMU, 0U, 0U, 0U, 0U, 0U, 0U, CMU_FC_1_INSTANCE}, /* FIRC_MON2_CLK clock */
  874. #endif
  875. /* FLEXCAN0_CLK clock */ {0U, GATE, 0U, 0U, 0U, 0U, PCC_36_INDEX, 0U, 0U}, /* FLEXCAN0_CLK clock */
  876. #if defined(FEATURE_CLOCK_IP_HAS_FLEXCAN1_CLK)
  877. /* FLEXCAN1_CLK clock */ {0U, GATE, 0U, 0U, 0U, 0U, PCC_37_INDEX, 0U, 0U}, /* FLEXCAN1_CLK clock */
  878. #endif
  879. #if defined(FEATURE_CLOCK_IP_HAS_FLEXCAN2_CLK)
  880. /* FLEXCAN2_CLK clock */ {0U, GATE, 0U, 0U, 0U, 0U, PCC_43_INDEX, 0U, 0U}, /* FLEXCAN2_CLK clock */
  881. #endif
  882. /* FlexIO_CLK clock */ {0U, MUX_GATE, 0U, 0U, PCC_90_INDEX, 0U, PCC_90_INDEX, 0U, 0U}, /* FlexIO_CLK clock */
  883. #if defined(FEATURE_CLOCK_IP_HAS_FTFC_CLK)
  884. /* FTFC_CLK clock */ {0U, GATE, 0U, 0U, 0U, 0U, PCC_32_INDEX, 0U, 0U}, /* FTFC_CLK clock */
  885. #endif
  886. #if defined(FEATURE_CLOCK_IP_HAS_FTFM_CLK)
  887. /* FTFM_CLK clock */ {0U, GATE, 0U, 0U, 0U, 0U, PCC_32_INDEX, 0U, 0U}, /* FTFM_CLK clock */
  888. #endif
  889. /* FTM0_CLK clock */ {0U, MUX_GATE, 0U, 0U, PCC_56_INDEX, 0U, PCC_56_INDEX, 0U, 0U}, /* FTM0_CLK clock */
  890. /* FTM1_CLK clock */ {0U, MUX_GATE, 0U, 0U, PCC_57_INDEX, 0U, PCC_57_INDEX, 0U, 0U}, /* FTM1_CLK clock */
  891. #if defined(FEATURE_CLOCK_IP_HAS_FTM2_CLK)
  892. /* FTM2_CLK clock */ {0U, MUX_GATE, 0U, 0U, PCC_58_INDEX, 0U, PCC_58_INDEX, 0U, 0U}, /* FTM2_CLK clock */
  893. #endif
  894. #if defined(FEATURE_CLOCK_IP_HAS_FTM3_CLK)
  895. /* FTM3_CLK clock */ {0U, MUX_GATE, 0U, 0U, PCC_38_INDEX, 0U, PCC_38_INDEX, 0U, 0U}, /* FTM3_CLK clock */
  896. #endif
  897. #if defined(FEATURE_CLOCK_IP_HAS_FTM4_CLK)
  898. /* FTM4_CLK clock */ {0U, MUX_GATE, 0U, 0U, PCC_110_INDEX, 0U, PCC_110_INDEX, 0U, 0U}, /* FTM4_CLK clock */
  899. #endif
  900. #if defined(FEATURE_CLOCK_IP_HAS_FTM5_CLK)
  901. /* FTM5_CLK clock */ {0U, MUX_GATE, 0U, 0U, PCC_111_INDEX, 0U, PCC_111_INDEX, 0U, 0U}, /* FTM5_CLK clock */
  902. #endif
  903. #if defined(FEATURE_CLOCK_IP_HAS_FTM6_CLK)
  904. /* FTM6_CLK clock */ {0U, MUX_GATE, 0U, 0U, PCC_112_INDEX, 0U, PCC_112_INDEX, 0U, 0U}, /* FTM6_CLK clock */
  905. #endif
  906. #if defined(FEATURE_CLOCK_IP_HAS_FTM7_CLK)
  907. /* FTM7_CLK clock */ {0U, MUX_GATE, 0U, 0U, PCC_113_INDEX, 0U, PCC_113_INDEX, 0U, 0U}, /* FTM7_CLK clock */
  908. #endif
  909. #if defined(FEATURE_CLOCK_IP_HAS_GPIO0_CLK)
  910. /* GPIO0_CLK clock */ {0U, PLAT_GATE, 0U, 0U, 0U, 0U, SIM_PLATCGC_5_INDEX, 0U, 0U}, /* GPIO0_CLK clock */
  911. #endif
  912. /* LPI2C0_CLK clock */ {0U, MUX_GATE, 0U, 0U, PCC_102_INDEX, 0U, PCC_102_INDEX, 0U, 0U}, /* LPI2C0_CLK clock */
  913. #if defined(FEATURE_CLOCK_IP_HAS_LPI2C1_CLK)
  914. /* LPI2C1_CLK clock */ {0U, MUX_GATE, 0U, 0U, PCC_103_INDEX, 0U, PCC_103_INDEX, 0U, 0U}, /* LPI2C1_CLK clock */
  915. #endif
  916. /* LPIT0_CLK clock */ {0U, MUX_GATE, 0U, 0U, PCC_55_INDEX, 0U, PCC_55_INDEX, 0U, 0U}, /* LPIT0_CLK clock */
  917. /* LPSPI0_CLK clock */ {0U, MUX_GATE, 0U, 0U, PCC_44_INDEX, 0U, PCC_44_INDEX, 0U, 0U}, /* LPSPI0_CLK clock */
  918. #if defined(FEATURE_CLOCK_IP_HAS_LPSPI1_CLK)
  919. /* LPSPI1_CLK clock */ {0U, MUX_GATE, 0U, 0U, PCC_45_INDEX, 0U, PCC_45_INDEX, 0U, 0U}, /* LPSPI1_CLK clock */
  920. #endif
  921. #if defined(FEATURE_CLOCK_IP_HAS_LPSPI2_CLK)
  922. /* LPSPI2_CLK clock */ {0U, MUX_GATE, 0U, 0U, PCC_46_INDEX, 0U, PCC_46_INDEX, 0U, 0U}, /* LPSPI2_CLK clock */
  923. #endif
  924. /* LPTMR0_CLK clock */ {0U, MUX_MUL_DIV_GATE, 0U, 0U, PCC_64_INDEX, PCC_64_INDEX, PCC_64_INDEX, 0U, 0U}, /* LPTMR0_CLK clock */
  925. /* LPUART0_CLK clock */ {0U, MUX_GATE, 0U, 0U, PCC_106_INDEX, 0U, PCC_106_INDEX, 0U, 0U}, /* LPUART0_CLK clock */
  926. /* LPUART1_CLK clock */ {0U, MUX_GATE, 0U, 0U, PCC_107_INDEX, 0U, PCC_107_INDEX, 0U, 0U}, /* LPUART1_CLK clock */
  927. #if defined(FEATURE_CLOCK_IP_HAS_LPUART2_CLK)
  928. /* LPUART2_CLK clock */ {0U, MUX_GATE, 0U, 0U, PCC_108_INDEX, 0U, PCC_108_INDEX, 0U, 0U}, /* LPUART2_CLK clock */
  929. #endif
  930. /* MPU0_CLK clock */ {0U, PLAT_GATE, 0U, 0U, 0U, 0U, SIM_PLATCGC_1_INDEX, 0U, 0U}, /* MPU0_CLK clock */
  931. /* MSCM0_CLK clock */ {0U, PLAT_GATE, 0U, 0U, 0U, 0U, SIM_PLATCGC_0_INDEX, 0U, 0U}, /* MSCM0_CLK clock */
  932. /* PDB0_CLK clock */ {0U, GATE, 0U, 0U, 0U, 0U, PCC_54_INDEX, 0U, 0U}, /* PDB0_CLK clock */
  933. #if defined(FEATURE_CLOCK_IP_HAS_PDB1_CLK)
  934. /* PDB1_CLK clock */ {0U, GATE, 0U, 0U, 0U, 0U, PCC_49_INDEX, 0U, 0U}, /* PDB1_CLK clock */
  935. #endif
  936. /* PORTA_CLK clock */ {0U, GATE, 0U, 0U, 0U, 0U, PCC_73_INDEX, 0U, 0U}, /* PORTA_CLK clock */
  937. /* PORTB_CLK clock */ {0U, GATE, 0U, 0U, 0U, 0U, PCC_74_INDEX, 0U, 0U}, /* PORTB_CLK clock */
  938. /* PORTC_CLK clock */ {0U, GATE, 0U, 0U, 0U, 0U, PCC_75_INDEX, 0U, 0U}, /* PORTC_CLK clock */
  939. /* PORTD_CLK clock */ {0U, GATE, 0U, 0U, 0U, 0U, PCC_76_INDEX, 0U, 0U}, /* PORTD_CLK clock */
  940. /* PORTE_CLK clock */ {0U, GATE, 0U, 0U, 0U, 0U, PCC_77_INDEX, 0U, 0U}, /* PORTE_CLK clock */
  941. #if defined(FEATURE_CLOCK_IP_HAS_QSPI_CLK)
  942. /* QSPI_CLK clock */ {0U, MUX_GATE, 0U, 0U, 0U, 0U, PCC_118_INDEX, 0U, 0U}, /* QSPI_CLK clock */
  943. #endif
  944. #if defined(FEATURE_CLOCK_IP_HAS_QSPI_SFIF_CLK_HYP_PREMUX_CLK)
  945. /* QSPI_SFIF_CLK_HYP_PREMUX_CLK */ {0U, NO_CALLBACK, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* QSPI_SFIF_CLK_HYP_PREMUX_CLK clock */
  946. #endif
  947. #if defined(FEATURE_CLOCK_IP_HAS_QSPI_SFIF_CLK)
  948. /* QSPI_SFIF_CLK */ {0U, NO_CALLBACK, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* QSPI_SFIF_CLK clock */
  949. #endif
  950. #if defined(FEATURE_CLOCK_IP_HAS_QSPI_2xSFIF_CLK)
  951. /* QSPI_2xSFIF_CLK */ {0U, NO_CALLBACK, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* QSPI_2xSFIF_CLK clock */
  952. #endif
  953. /* RTC0_CLK clock */ {0U, GATE, 0U, 0U, 0U, 0U, PCC_61_INDEX, 0U, 0U}, /* RTC0_CLK clock */
  954. #if defined(FEATURE_CLOCK_IP_HAS_SAI0_CLK)
  955. /* SAI0_CLK clock */ {0U, MUX_GATE, 0U, 0U, 0U, 0U, PCC_84_INDEX, 0U, 0U}, /* SAI0_CLK clock */
  956. #endif
  957. #if defined(FEATURE_CLOCK_IP_HAS_SAI1_CLK)
  958. /* SAI1_CLK clock */ {0U, MUX_GATE, 0U, 0U, 0U, 0U, PCC_85_INDEX, 0U, 0U}, /* SAI1_CLK clock */
  959. #endif
  960. #if defined(FEATURE_CLOCK_IP_HAS_TRACE_CLK)
  961. /* TRACE_CLK clock */ {0U, TRACE_SEL_FRAC_ENABLE, 0U, 0U, 0U, 0U, 0U, 0U, 0U}, /* TRACE_CLK clock */
  962. #endif
  963. };
  964. /* Clock stop constant section data */
  965. #define MCU_STOP_SEC_CONST_8
  966. #include "Mcu_MemMap.h"
  967. /* Clock start constant section data */
  968. #define MCU_START_SEC_CONST_16
  969. #include "Mcu_MemMap.h"
  970. /*!
  971. * @brief Converts a clock name to a selector entry hardware value
  972. */
  973. const uint8 selectorEntry_hardwareValue[CLOCK_NAMES_NO] = {
  974. 3U, /*!< CLOCK_IS_OFF */
  975. 10U, /*!< LPO_128K_CLK */
  976. 1U, /*!< SIRC_CLK */
  977. 1U, /*!< SIRC_VLP_CLK */
  978. 1U, /*!< SIRC_STOP_CLK */
  979. 0U, /*!< FIRC_CLK */
  980. 1U, /*!< FIRC_VLP_CLK */
  981. 1U, /*!< FIRC_STOP_CLK */
  982. 2U, /*!< SOSC_CLK */
  983. #if defined(FEATURE_CLOCK_IP_HAS_SPLL_CLK)
  984. 0U, /*!< SPLL_CLK */
  985. #endif
  986. 4U, /*!< SIRCDIV1_CLK */
  987. 4U, /*!< SIRCDIV2_CLK */
  988. 3U, /*!< FIRCDIV1_CLK */
  989. 6U, /*!< FIRCDIV2_CLK */
  990. 0U, /*!< SOSCDIV1_CLK */
  991. 2U, /*!< SOSCDIV2_CLK */
  992. #if defined(FEATURE_CLOCK_IP_HAS_SPLLDIV1_CLK)
  993. 16U, /*!< SPLLDIV1_CLK */
  994. #endif
  995. #if defined(FEATURE_CLOCK_IP_HAS_SPLLDIV2_CLK)
  996. 8U, /*!< SPLLDIV2_CLK */
  997. #endif
  998. 1U, /*!< LPO_32K_CLK */
  999. 0U, /*!< LPO_1K_CLK */
  1000. 0U, /*!< TCLK0_REF_CLK */
  1001. 1U, /*!< TCLK1_REF_CLK */
  1002. 2U, /*!< TCLK2_REF_CLK */
  1003. 2U, /*!< RTC_CLKIN */
  1004. 0U, /*!< SCS_CLK */
  1005. 0U, /*!< SCS_RUN_CLK */
  1006. 0U, /*!< SCS_VLPR_CLK */
  1007. #if defined(FEATURE_CLOCK_IP_HAS_SCS_HSRUN_CLK)
  1008. 0U, /*!< SCS_HSRUN_CLK */
  1009. #endif
  1010. 7U, /*!< CORE_CLK */
  1011. 0U, /*!< CORE_RUN_CLK */
  1012. 0U, /*!< CORE_VLPR_CLK */
  1013. #if defined(FEATURE_CLOCK_IP_HAS_CORE_HSRUN_CLK)
  1014. 0U, /*!< CORE_HSRUN_CLK */
  1015. #endif
  1016. 9U, /*!< BUS_CLK */
  1017. 0U, /*!< BUS_RUN_CLK */
  1018. 0U, /*!< BUS_VLPR_CLK */
  1019. #if defined(FEATURE_CLOCK_IP_HAS_CORE_HSRUN_CLK)
  1020. 0U, /*!< BUS_HSRUN_CLK */
  1021. #endif
  1022. 0U, /*!< SLOW_CLK */
  1023. 0U, /*!< SLOW_RUN_CLK */
  1024. 0U, /*!< SLOW_VLPR_CLK */
  1025. #if defined(FEATURE_CLOCK_IP_HAS_CORE_HSRUN_CLK)
  1026. 0U, /*!< SLOW_HSRUN_CLK */
  1027. #endif
  1028. 14U, /*!< RTC_CLK */
  1029. 12U, /*!< LPO_CLK */
  1030. 0U, /*!< SCG_CLKOUT_CLK */
  1031. 0U, /*!< FTM0_EXT_CLK */
  1032. 0U, /*!< FTM1_EXT_CLK */
  1033. #if defined(FEATURE_CLOCK_IP_HAS_FTM2_EXT_CLK)
  1034. 0U, /*!< FTM2_EXT_CLK */
  1035. #endif
  1036. #if defined(FEATURE_CLOCK_IP_HAS_FTM3_EXT_CLK)
  1037. 0U, /*!< FTM3_EXT_CLK */
  1038. #endif
  1039. #if defined(FEATURE_CLOCK_IP_HAS_FTM4_EXT_CLK)
  1040. 0U, /*!< FTM4_EXT_CLK */
  1041. #endif
  1042. #if defined(FEATURE_CLOCK_IP_HAS_FTM5_EXT_CLK)
  1043. 0U, /*!< FTM5_EXT_CLK */
  1044. #endif
  1045. #if defined(FEATURE_CLOCK_IP_HAS_FTM6_EXT_CLK)
  1046. 0U, /*!< FTM6_EXT_CLK */
  1047. #endif
  1048. #if defined(FEATURE_CLOCK_IP_HAS_FTM7_EXT_CLK)
  1049. 0U, /*!< FTM7_EXT_CLK */
  1050. #endif
  1051. 0U, /*!< PRODUCERS_NO */
  1052. 0U, /*!< ADC0_CLK */
  1053. #if defined(FEATURE_CLOCK_IP_HAS_ADC1_CLK)
  1054. 0U, /*!< ADC1_CLK */
  1055. #endif
  1056. 0U, /*!< CLKOUT0_CLK */
  1057. 0U, /*!< CMP0_CLK */
  1058. #if defined(FEATURE_CLOCK_IP_HAS_CMU0_CLK)
  1059. 0U, /*!< CMU0_CLK */
  1060. #endif
  1061. #if defined(FEATURE_CLOCK_IP_HAS_CMU1_CLK)
  1062. 0U, /*!< CMU1_CLK */
  1063. #endif
  1064. 0U, /*!< CRC0_CLK */
  1065. 0U, /*!< DMA0_CLK */
  1066. 0U, /*!< DMAMUX0_CLK */
  1067. 0U, /*!< EIM0_CLK */
  1068. #if defined(FEATURE_CLOCK_IP_HAS_ENET_CLK)
  1069. 0U, /*!< ENET_CLK */
  1070. #endif
  1071. 0U, /*!< ERM0_CLK */
  1072. #if defined(FEATURE_CLOCK_IP_HAS_EWM0_CLK)
  1073. 0U, /*!< EWM0_CLK */
  1074. #endif
  1075. #if defined(FEATURE_CLOCK_IP_HAS_FIRC_MON1_CLK)
  1076. 0U, /*!< FIRC_MON1_CLK */
  1077. #endif
  1078. #if defined(FEATURE_CLOCK_IP_HAS_FIRC_MON2_CLK)
  1079. 0U, /*!< FIRC_MON2_CLK */
  1080. #endif
  1081. 0U, /*!< FLEXCAN0_CLK */
  1082. #if defined(FEATURE_CLOCK_IP_HAS_FLEXCAN1_CLK)
  1083. 0U, /*!< FLEXCAN1_CLK */
  1084. #endif
  1085. #if defined(FEATURE_CLOCK_IP_HAS_FLEXCAN2_CLK)
  1086. 0U, /*!< FLEXCAN2_CLK */
  1087. #endif
  1088. 0U, /*!< FlexIO_CLK */
  1089. #if defined(FEATURE_CLOCK_IP_HAS_FTFC_CLK)
  1090. 0U, /*!< FTFC_CLK */
  1091. #endif
  1092. #if defined(FEATURE_CLOCK_IP_HAS_FTFM_CLK)
  1093. 0U, /*!< FTFM_CLK */
  1094. #endif
  1095. 0U, /*!< FTM0_CLK */
  1096. 0U, /*!< FTM1_CLK */
  1097. #if defined(FEATURE_CLOCK_IP_HAS_FTM2_CLK)
  1098. 0U, /*!< FTM2_CLK */
  1099. #endif
  1100. #if defined(FEATURE_CLOCK_IP_HAS_FTM3_CLK)
  1101. 0U, /*!< FTM3_CLK */
  1102. #endif
  1103. #if defined(FEATURE_CLOCK_IP_HAS_FTM4_CLK)
  1104. 0U, /*!< FTM4_CLK */
  1105. #endif
  1106. #if defined(FEATURE_CLOCK_IP_HAS_FTM5_CLK)
  1107. 0U, /*!< FTM5_CLK */
  1108. #endif
  1109. #if defined(FEATURE_CLOCK_IP_HAS_FTM6_CLK)
  1110. 0U, /*!< FTM6_CLK */
  1111. #endif
  1112. #if defined(FEATURE_CLOCK_IP_HAS_FTM7_CLK)
  1113. 0U, /*!< FTM7_CLK */
  1114. #endif
  1115. #if defined(FEATURE_CLOCK_IP_HAS_GPIO0_CLK)
  1116. 0U, /*!< GPIO0_CLK */
  1117. #endif
  1118. 0U, /*!< LPI2C0_CLK */
  1119. #if defined(FEATURE_CLOCK_IP_HAS_LPI2C1_CLK)
  1120. 0U, /*!< LPI2C1_CLK */
  1121. #endif
  1122. 0U, /*!< LPIT0_CLK */
  1123. 0U, /*!< LPSPI0_CLK */
  1124. #if defined(FEATURE_CLOCK_IP_HAS_LPSPI1_CLK)
  1125. 0U, /*!< LPSPI1_CLK */
  1126. #endif
  1127. #if defined(FEATURE_CLOCK_IP_HAS_LPSPI2_CLK)
  1128. 0U, /*!< LPSPI2_CLK */
  1129. #endif
  1130. 0U, /*!< LPTMR0_CLK */
  1131. 0U, /*!< LPUART0_CLK */
  1132. 0U, /*!< LPUART1_CLK */
  1133. #if defined(FEATURE_CLOCK_IP_HAS_LPUART2_CLK)
  1134. 0U, /*!< LPUART2_CLK */
  1135. #endif
  1136. 0U, /*!< MPU0_CLK */
  1137. 0U, /*!< MSCM0_CLK */
  1138. 0U, /*!< PDB0_CLK */
  1139. #if defined(FEATURE_CLOCK_IP_HAS_PDB1_CLK)
  1140. 0U, /*!< PDB1_CLK */
  1141. #endif
  1142. 0U, /*!< PORTA_CLK */
  1143. 0U, /*!< PORTB_CLK */
  1144. 0U, /*!< PORTC_CLK */
  1145. 0U, /*!< PORTD_CLK */
  1146. 0U, /*!< PORTE_CLK */
  1147. #if defined(FEATURE_CLOCK_IP_HAS_QSPI_CLK)
  1148. 11U, /*!< QSPI_CLK */
  1149. #endif
  1150. #if defined(FEATURE_CLOCK_IP_HAS_QSPI_SFIF_CLK_HYP_PREMUX_CLK)
  1151. 5U, /*!< QSPI_SFIF_CLK_HYP_PREMUX_CLK */
  1152. #endif
  1153. #if defined(FEATURE_CLOCK_IP_HAS_QSPI_SFIF_CLK)
  1154. 13U, /*!< QSPI_SFIF_CLK */
  1155. #endif
  1156. #if defined(FEATURE_CLOCK_IP_HAS_QSPI_2xSFIF_CLK)
  1157. 15U, /*!< QSPI_2xSFIF_CLK */
  1158. #endif
  1159. 0U, /*!< RTC0_CLK */
  1160. #if defined(FEATURE_CLOCK_IP_HAS_SAI0_CLK)
  1161. 0U, /*!< SAI0_CLK */
  1162. #endif
  1163. #if defined(FEATURE_CLOCK_IP_HAS_SAI1_CLK)
  1164. 0U, /*!< SAI1_CLK */
  1165. #endif
  1166. #if defined(FEATURE_CLOCK_IP_HAS_TRACE_CLK)
  1167. 0U, /*!< TRACE_CLK */
  1168. #endif
  1169. };
  1170. /*!
  1171. * @brief Converts a clock name to a selector entry hardware value
  1172. */
  1173. const uint8 selectorEntrySCS_hardwareValue[CLOCK_PRODUCERS_NO + 1U] = {
  1174. 0U, /*!< CLOCK_IS_OFF */
  1175. 0U, /*!< LPO_128K_CLK */
  1176. 2U, /*!< SIRC_CLK */
  1177. 0U, /*!< SIRC_VLP_CLK */
  1178. 0U, /*!< SIRC_STOP_CLK */
  1179. 3U, /*!< FIRC_CLK */
  1180. 0U, /*!< FIRC_VLP_CLK */
  1181. 0U, /*!< FIRC_STOP_CLK */
  1182. 1U, /*!< SOSC_CLK */
  1183. #if defined(FEATURE_CLOCK_IP_HAS_SPLL_CLK)
  1184. 6U, /*!< SPLL_CLK */
  1185. #endif
  1186. 0U, /*!< SIRCDIV1_CLK */
  1187. 0U, /*!< SIRCDIV2_CLK */
  1188. 0U, /*!< FIRCDIV1_CLK */
  1189. 0U, /*!< FIRCDIV2_CLK */
  1190. 0U, /*!< SOSCDIV1_CLK */
  1191. 0U, /*!< SOSCDIV2_CLK */
  1192. #if defined(FEATURE_CLOCK_IP_HAS_SPLLDIV1_CLK)
  1193. 0U, /*!< SPLLDIV1_CLK */
  1194. #endif
  1195. #if defined(FEATURE_CLOCK_IP_HAS_SPLLDIV2_CLK)
  1196. 0U, /*!< SPLLDIV2_CLK */
  1197. #endif
  1198. 0U, /*!< LPO_32K_CLK */
  1199. 0U, /*!< LPO_1K_CLK */
  1200. 0U, /*!< TCLK0_REF_CLK */
  1201. 0U, /*!< TCLK1_REF_CLK */
  1202. 0U, /*!< TCLK2_REF_CLK */
  1203. 0U, /*!< RTC_CLKIN */
  1204. 0U, /*!< SCS_CLK */
  1205. 0U, /*!< SCS_RUN_CLK */
  1206. 0U, /*!< SCS_VLPR_CLK */
  1207. #if defined(FEATURE_CLOCK_IP_HAS_SCS_HSRUN_CLK)
  1208. 0U, /*!< SCS_HSRUN_CLK */
  1209. #endif
  1210. 0U, /*!< CORE_CLK */
  1211. 0U, /*!< CORE_RUN_CLK */
  1212. 0U, /*!< CORE_VLPR_CLK */
  1213. #if defined(FEATURE_CLOCK_IP_HAS_CORE_HSRUN_CLK)
  1214. 0U, /*!< CORE_HSRUN_CLK */
  1215. #endif
  1216. 0U, /*!< BUS_CLK */
  1217. 0U, /*!< BUS_RUN_CLK */
  1218. 0U, /*!< BUS_VLPR_CLK */
  1219. #if defined(FEATURE_CLOCK_IP_HAS_CORE_HSRUN_CLK)
  1220. 0U, /*!< BUS_HSRUN_CLK */
  1221. #endif
  1222. 0U, /*!< SLOW_CLK */
  1223. 0U, /*!< SLOW_RUN_CLK */
  1224. 0U, /*!< SLOW_VLPR_CLK */
  1225. #if defined(FEATURE_CLOCK_IP_HAS_CORE_HSRUN_CLK)
  1226. 0U, /*!< SLOW_HSRUN_CLK */
  1227. #endif
  1228. 0U, /*!< RTC_CLK */
  1229. 0U, /*!< LPO_CLK */
  1230. 0U, /*!< SCG_CLKOUT_CLK */
  1231. 0U, /*!< FTM0_EXT_CLK */
  1232. 0U, /*!< FTM1_EXT_CLK */
  1233. #if defined(FEATURE_CLOCK_IP_HAS_FTM2_EXT_CLK)
  1234. 0U, /*!< FTM2_EXT_CLK */
  1235. #endif
  1236. #if defined(FEATURE_CLOCK_IP_HAS_FTM3_EXT_CLK)
  1237. 0U, /*!< FTM3_EXT_CLK */
  1238. #endif
  1239. #if defined(FEATURE_CLOCK_IP_HAS_FTM4_EXT_CLK)
  1240. 0U, /*!< FTM4_EXT_CLK */
  1241. #endif
  1242. #if defined(FEATURE_CLOCK_IP_HAS_FTM5_EXT_CLK)
  1243. 0U, /*!< FTM5_EXT_CLK */
  1244. #endif
  1245. #if defined(FEATURE_CLOCK_IP_HAS_FTM6_EXT_CLK)
  1246. 0U, /*!< FTM6_EXT_CLK */
  1247. #endif
  1248. #if defined(FEATURE_CLOCK_IP_HAS_FTM7_EXT_CLK)
  1249. 0U, /*!< FTM7_EXT_CLK */
  1250. #endif
  1251. };
  1252. /*!
  1253. * @brief Converts a clock name to a selector entry hardware value
  1254. */
  1255. const uint8 selectorEntryPCS_hardwareValue[CLOCK_PRODUCERS_NO + 1U] = {
  1256. 0U, /*!< CLOCK_IS_OFF */
  1257. 0U, /*!< LPO_128K_CLK */
  1258. 0U, /*!< SIRC_CLK */
  1259. 0U, /*!< SIRC_VLP_CLK */
  1260. 0U, /*!< SIRC_STOP_CLK */
  1261. 0U, /*!< FIRC_CLK */
  1262. 0U, /*!< FIRC_VLP_CLK */
  1263. 0U, /*!< FIRC_STOP_CLK */
  1264. 0U, /*!< SOSC_CLK */
  1265. #if defined(FEATURE_CLOCK_IP_HAS_SPLL_CLK)
  1266. 0U, /*!< SPLL_CLK */
  1267. #endif
  1268. 2U, /*!< SIRCDIV1_CLK */
  1269. 2U, /*!< SIRCDIV2_CLK */
  1270. 3U, /*!< FIRCDIV1_CLK */
  1271. 3U, /*!< FIRCDIV2_CLK */
  1272. 1U, /*!< SOSCDIV1_CLK */
  1273. 1U, /*!< SOSCDIV2_CLK */
  1274. #if defined(FEATURE_CLOCK_IP_HAS_SPLLDIV1_CLK)
  1275. 6U, /*!< SPLLDIV1_CLK */
  1276. #endif
  1277. #if defined(FEATURE_CLOCK_IP_HAS_SPLLDIV2_CLK)
  1278. 6U, /*!< SPLLDIV2_CLK */
  1279. #endif
  1280. 2U, /*!< LPO_32K_CLK */
  1281. 3U, /*!< LPO_1K_CLK */
  1282. 0U, /*!< TCLK0_REF_CLK */
  1283. 0U, /*!< TCLK1_REF_CLK */
  1284. 0U, /*!< TCLK2_REF_CLK */
  1285. 0U, /*!< RTC_CLKIN */
  1286. 0U, /*!< SCS_CLK */
  1287. 0U, /*!< SCS_RUN_CLK */
  1288. 0U, /*!< SCS_VLPR_CLK */
  1289. #if defined(FEATURE_CLOCK_IP_HAS_SCS_HSRUN_CLK)
  1290. 0U, /*!< SCS_HSRUN_CLK */
  1291. #endif
  1292. 0U, /*!< CORE_CLK */
  1293. 0U, /*!< CORE_RUN_CLK */
  1294. 0U, /*!< CORE_VLPR_CLK */
  1295. #if defined(FEATURE_CLOCK_IP_HAS_CORE_HSRUN_CLK)
  1296. 0U, /*!< CORE_HSRUN_CLK */
  1297. #endif
  1298. 0U, /*!< BUS_CLK */
  1299. 0U, /*!< BUS_RUN_CLK */
  1300. 0U, /*!< BUS_VLPR_CLK */
  1301. #if defined(FEATURE_CLOCK_IP_HAS_CORE_HSRUN_CLK)
  1302. 0U, /*!< BUS_HSRUN_CLK */
  1303. #endif
  1304. 0U, /*!< SLOW_CLK */
  1305. 0U, /*!< SLOW_RUN_CLK */
  1306. 0U, /*!< SLOW_VLPR_CLK */
  1307. #if defined(FEATURE_CLOCK_IP_HAS_CORE_HSRUN_CLK)
  1308. 0U, /*!< SLOW_HSRUN_CLK */
  1309. #endif
  1310. 0U, /*!< RTC_CLK */
  1311. 0U, /*!< LPO_CLK */
  1312. 0U, /*!< SCG_CLKOUT_CLK */
  1313. 0U, /*!< FTM0_EXT_CLK */
  1314. 0U, /*!< FTM1_EXT_CLK */
  1315. #if defined(FEATURE_CLOCK_IP_HAS_FTM2_EXT_CLK)
  1316. 0U, /*!< FTM2_EXT_CLK */
  1317. #endif
  1318. #if defined(FEATURE_CLOCK_IP_HAS_FTM3_EXT_CLK)
  1319. 0U, /*!< FTM3_EXT_CLK */
  1320. #endif
  1321. #if defined(FEATURE_CLOCK_IP_HAS_FTM4_EXT_CLK)
  1322. 0U, /*!< FTM4_EXT_CLK */
  1323. #endif
  1324. #if defined(FEATURE_CLOCK_IP_HAS_FTM5_EXT_CLK)
  1325. 0U, /*!< FTM5_EXT_CLK */
  1326. #endif
  1327. #if defined(FEATURE_CLOCK_IP_HAS_FTM6_EXT_CLK)
  1328. 0U, /*!< FTM6_EXT_CLK */
  1329. #endif
  1330. #if defined(FEATURE_CLOCK_IP_HAS_FTM7_EXT_CLK)
  1331. 0U, /*!< FTM7_EXT_CLK */
  1332. #endif
  1333. };
  1334. /*
  1335. * @brief Converts a divider value to a hardware value
  1336. */
  1337. const uint8 dividerValue_hardwareValue[65U] = {
  1338. 0U, /*!< 0 */
  1339. 1U, /*!< 1 */
  1340. 2U, /*!< 2 */
  1341. 0U, /*!< 3 */
  1342. 3U, /*!< 4 */
  1343. 0U, /*!< 5 */
  1344. 0U, /*!< 6 */
  1345. 0U, /*!< 7 */
  1346. 4U, /*!< 8 */
  1347. 0U, /*!< 9 */
  1348. 0U, /*!< 10 */
  1349. 0U, /*!< 11 */
  1350. 0U, /*!< 12 */
  1351. 0U, /*!< 13 */
  1352. 0U, /*!< 14 */
  1353. 0U, /*!< 15 */
  1354. 5U, /*!< 16 */
  1355. 0U, /*!< 17 */
  1356. 0U, /*!< 18 */
  1357. 0U, /*!< 19 */
  1358. 0U, /*!< 20 */
  1359. 0U, /*!< 21 */
  1360. 0U, /*!< 22 */
  1361. 0U, /*!< 23 */
  1362. 0U, /*!< 24 */
  1363. 0U, /*!< 25 */
  1364. 0U, /*!< 26 */
  1365. 0U, /*!< 27 */
  1366. 0U, /*!< 28 */
  1367. 0U, /*!< 29 */
  1368. 0U, /*!< 30 */
  1369. 0U, /*!< 31 */
  1370. 6U, /*!< 32 */
  1371. 0U, /*!< 33 */
  1372. 0U, /*!< 34 */
  1373. 0U, /*!< 35 */
  1374. 0U, /*!< 36 */
  1375. 0U, /*!< 37 */
  1376. 0U, /*!< 38 */
  1377. 0U, /*!< 39 */
  1378. 0U, /*!< 40 */
  1379. 0U, /*!< 41 */
  1380. 0U, /*!< 42 */
  1381. 0U, /*!< 43 */
  1382. 0U, /*!< 44 */
  1383. 0U, /*!< 45 */
  1384. 0U, /*!< 46 */
  1385. 0U, /*!< 47 */
  1386. 0U, /*!< 48 */
  1387. 0U, /*!< 49 */
  1388. 0U, /*!< 50 */
  1389. 0U, /*!< 51 */
  1390. 0U, /*!< 52 */
  1391. 0U, /*!< 53 */
  1392. 0U, /*!< 54 */
  1393. 0U, /*!< 55 */
  1394. 0U, /*!< 56 */
  1395. 0U, /*!< 57 */
  1396. 0U, /*!< 58 */
  1397. 0U, /*!< 59 */
  1398. 0U, /*!< 60 */
  1399. 0U, /*!< 61 */
  1400. 0U, /*!< 62 */
  1401. 0U, /*!< 63 */
  1402. 7U, /*!< 64 */
  1403. };
  1404. /* Clock stop constant section data */
  1405. #define MCU_STOP_SEC_CONST_16
  1406. #include "Mcu_MemMap.h"
  1407. /* Clock start constant section data */
  1408. #define MCU_START_SEC_CONST_32
  1409. #include "Mcu_MemMap.h"
  1410. #if (defined(CLOCK_IP_DEV_ERROR_DETECT))
  1411. #if (CLOCK_IP_DEV_ERROR_DETECT == STD_ON)
  1412. /* Clock name types */
  1413. const uint32 clockNameTypes[CLOCK_NAMES_NO] =
  1414. {
  1415. /* CLOCK_IS_OFF clock */ 0U, /* CLOCK_IS_OFF */
  1416. /* LPO_128K_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* LPO_128K_CLK clock */
  1417. /* SIRC_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* SIRC_CLK clock */
  1418. /* SIRC_VLP_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* SIRC_VLP_CLK clock */
  1419. /* SIRC_STOP_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* SIRC_STOP_CLK clock */
  1420. /* FIRC_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FIRC_CLK clock */
  1421. /* FIRC_VLP_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FIRC_VLP_CLK clock */
  1422. /* FIRC_STOP_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FIRC_STOP_CLK clock */
  1423. /* SOSC_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* SOSC_CLK clock */
  1424. #if defined(FEATURE_CLOCK_IP_HAS_SPLL_CLK)
  1425. /* SPLL_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* SPLL_CLK clock */
  1426. #endif
  1427. /* SIRCDIV1_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* SIRCDIV1_CLK clock */
  1428. /* SIRCDIV2_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* SIRCDIV2_CLK clock */
  1429. /* FIRCDIV1_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FIRCDIV1_CLK clock */
  1430. /* FIRCDIV2_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FIRCDIV2_CLK clock */
  1431. /* SOSCDIV1_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* SOSCDIV1_CLK clock */
  1432. /* SOSCDIV2_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* SOSCDIV2_CLK clock */
  1433. #if defined(FEATURE_CLOCK_IP_HAS_SPLLDIV1_CLK)
  1434. /* SPLLDIV1_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* SPLLDIV1_CLK clock */
  1435. #endif
  1436. #if defined(FEATURE_CLOCK_IP_HAS_SPLLDIV2_CLK)
  1437. /* SPLLDIV2_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* SPLLDIV2_CLK clock */
  1438. #endif
  1439. /* LPO_32K_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* LPO_32K_CLK clock */
  1440. /* LPO_1K_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* LPO_1K_CLK clock */
  1441. /* tclk0_ref clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* tclk0_ref clock */
  1442. /* tclk1_ref clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* tclk1_ref clock */
  1443. /* tclk2_ref clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* tclk2_ref clock */
  1444. /* rtc_clkin clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* rtc_clkin clock */
  1445. /* SCS_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* SCS_CLK clock */
  1446. /* SCS_RUN_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* SCS_RUN_CLK clock */
  1447. /* SCS_VLPR_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* SCS_VLPR_CLK clock */
  1448. #if defined(FEATURE_CLOCK_IP_HAS_SCS_HSRUN_CLK)
  1449. /* SCS_HSRUN_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* SCS_HSRUN_CLK clock */
  1450. #endif
  1451. /* CORE_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* CORE_CLK clock */
  1452. /* CORE_RUN_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* CORE_RUN_CLK clock */
  1453. /* CORE_VLPR_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* CORE_VLPR_CLK clock */
  1454. #if defined(FEATURE_CLOCK_IP_HAS_CORE_HSRUN_CLK)
  1455. /* CORE_HSRUN_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* CORE_HSRUN_CLK clock */
  1456. #endif
  1457. /* BUS_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* BUS_CLK clock */
  1458. /* BUS_RUN_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* BUS_RUN_CLK clock */
  1459. /* BUS_VLPR_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* BUS_VLPR_CLK clock */
  1460. #if defined(FEATURE_CLOCK_IP_HAS_BUS_HSRUN_CLK)
  1461. /* BUS_HSRUN_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* BUS_HSRUN_CLK clock */
  1462. #endif
  1463. /* SLOW_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* SLOW_CLK clock */
  1464. /* SLOW_RUN_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* SLOW_RUN_CLK clock */
  1465. /* SLOW_VLPR_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* SLOW_VLPR_CLK clock */
  1466. #if defined(FEATURE_CLOCK_IP_HAS_SLOW_HSRUN_CLK)
  1467. /* SLOW_HSRUN_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* SLOW_HSRUN_CLK clock */
  1468. #endif
  1469. /* RTC_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* RTC_CLK clock */
  1470. /* LPO_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* LPO_CLK clock */
  1471. /* SCG_CLKOUT_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* SCG_CLKOUT_CLK clock */
  1472. /* FTM0_EXT_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FTM0_EXT_CLK clock */
  1473. /* FTM1_EXT_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FTM1_EXT_CLK clock */
  1474. #if defined(FEATURE_CLOCK_IP_HAS_FTM2_EXT_CLK)
  1475. /* FTM2_EXT_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FTM2_EXT_CLK clock */
  1476. #endif
  1477. #if defined(FEATURE_CLOCK_IP_HAS_FTM3_EXT_CLK)
  1478. /* FTM3_EXT_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FTM3_EXT_CLK clock */
  1479. #endif
  1480. #if defined(FEATURE_CLOCK_IP_HAS_FTM4_EXT_CLK)
  1481. /* FTM4_EXT_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FTM4_EXT_CLK clock */
  1482. #endif
  1483. #if defined(FEATURE_CLOCK_IP_HAS_FTM5_EXT_CLK)
  1484. /* FTM5_EXT_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FTM5_EXT_CLK clock */
  1485. #endif
  1486. #if defined(FEATURE_CLOCK_IP_HAS_FTM6_EXT_CLK)
  1487. /* FTM6_EXT_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FTM6_EXT_CLK clock */
  1488. #endif
  1489. #if defined(FEATURE_CLOCK_IP_HAS_FTM7_EXT_CLK)
  1490. /* FTM7_EXT_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FTM7_EXT_CLK clock */
  1491. #endif
  1492. /* THE_LAST_PRODUCER_CLK */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* THE_LAST_PRODUCER_CLK */
  1493. /* ADC0_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* ADC0_CLK clock */
  1494. #if defined(FEATURE_CLOCK_IP_HAS_ADC1_CLK)
  1495. /* ADC1_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* ADC1_CLK clock */
  1496. #endif
  1497. /* CLKOUT0_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* CLKOUT0_CLK clock */
  1498. /* CMP0_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* CMP0_CLK clock */
  1499. #if defined(FEATURE_CLOCK_IP_HAS_CMU0_CLK)
  1500. /* CMU0_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* CMU0_CLK clock */
  1501. #endif
  1502. #if defined(FEATURE_CLOCK_IP_HAS_CMU1_CLK)
  1503. /* CMU1_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* CMU1_CLK clock */
  1504. #endif
  1505. /* CRC0_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* CRC0_CLK clock */
  1506. /* DMA0_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* DMA0_CLK clock */
  1507. /* DMAMUX0_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* DMAMUX0_CLK clock */
  1508. /* EIM0_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* EIM0_CLK clock */
  1509. #if defined(FEATURE_CLOCK_IP_HAS_ENET_CLK)
  1510. /* ENET_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* ENET_CLK clock */
  1511. #endif
  1512. /* ERM0_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* ERM0_CLK clock */
  1513. #if defined(FEATURE_CLOCK_IP_HAS_EWM0_CLK)
  1514. /* EWM0_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* EWM0_CLK clock */
  1515. #endif
  1516. #if defined(FEATURE_CLOCK_IP_HAS_FIRC_MON1_CLK)
  1517. /* FIRC_MON1_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FIRC_MON1_CLK clock */
  1518. #endif
  1519. #if defined(FEATURE_CLOCK_IP_HAS_FIRC_MON2_CLK)
  1520. /* FIRC_MON2_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FIRC_MON2_CLK clock */
  1521. #endif
  1522. /* FLEXCAN0_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FLEXCAN0_CLK clock */
  1523. #if defined(FEATURE_CLOCK_IP_HAS_FLEXCAN1_CLK)
  1524. /* FLEXCAN1_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FLEXCAN1_CLK clock */
  1525. #endif
  1526. #if defined(FEATURE_CLOCK_IP_HAS_FLEXCAN2_CLK)
  1527. /* FLEXCAN2_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FLEXCAN2_CLK clock */
  1528. #endif
  1529. /* FlexIO_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FlexIO_CLK clock */
  1530. /* FTFM clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FTFM clock */ \
  1531. /* FTM0_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FTM0_CLK clock */
  1532. /* FTM1_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FTM1_CLK clock */
  1533. #if defined(FEATURE_CLOCK_IP_HAS_FTM2_CLK)
  1534. /* FTM2_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FTM2_CLK clock */
  1535. #endif
  1536. #if defined(FEATURE_CLOCK_IP_HAS_FTM3_CLK)
  1537. /* FTM3_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FTM3_CLK clock */
  1538. #endif
  1539. #if defined(FEATURE_CLOCK_IP_HAS_FTM4_CLK)
  1540. /* FTM4_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FTM4_CLK clock */
  1541. #endif
  1542. #if defined(FEATURE_CLOCK_IP_HAS_FTM5_CLK)
  1543. /* FTM5_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FTM5_CLK clock */
  1544. #endif
  1545. #if defined(FEATURE_CLOCK_IP_HAS_FTM6_CLK)
  1546. /* FTM6_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FTM6_CLK clock */
  1547. #endif
  1548. #if defined(FEATURE_CLOCK_IP_HAS_FTM7_CLK)
  1549. /* FTM7_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* FTM7_CLK clock */
  1550. #endif
  1551. #if defined(FEATURE_CLOCK_IP_HAS_GPIO0_CLK)
  1552. /* GPIO0_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* GPIO0_CLK clock */
  1553. #endif
  1554. /* LPI2C0_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* LPI2C0_CLK clock */
  1555. #if defined(FEATURE_CLOCK_IP_HAS_LPI2C1_CLK)
  1556. /* LPI2C1_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* LPI2C1_CLK clock */
  1557. #endif
  1558. /* LPIT0_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* LPIT0_CLK clock */
  1559. /* LPSPI0_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* LPSPI0_CLK clock */
  1560. #if defined(FEATURE_CLOCK_IP_HAS_LPSPI1_CLK)
  1561. /* LPSPI1_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* LPSPI1_CLK clock */
  1562. #endif
  1563. #if defined(FEATURE_CLOCK_IP_HAS_LPSPI2_CLK)
  1564. /* LPSPI2_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* LPSPI2_CLK clock */
  1565. #endif
  1566. /* LPTMR0_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* LPTMR0_CLK clock */
  1567. /* LPUART0_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* LPUART0_CLK clock */
  1568. /* LPUART1_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* LPUART1_CLK clock */
  1569. #if defined(FEATURE_CLOCK_IP_HAS_LPUART2_CLK)
  1570. /* LPUART2_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* LPUART2_CLK clock */
  1571. #endif
  1572. /* MPU0_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* MPU0_CLK clock */
  1573. /* MSCM0_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* MSCM0_CLK clock */
  1574. /* PDB0_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* PDB0_CLK clock */
  1575. #if defined(FEATURE_CLOCK_IP_HAS_PDB1_CLK)
  1576. /* PDB1_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* PDB1_CLK clock */
  1577. #endif
  1578. /* PORTA_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* PORTA_CLK clock */
  1579. /* PORTB_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* PORTB_CLK clock */
  1580. /* PORTC_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* PORTC_CLK clock */
  1581. /* PORTD_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* PORTD_CLK clock */
  1582. /* PORTE_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* PORTE_CLK clock */
  1583. #if defined(FEATURE_CLOCK_IP_HAS_QSPI_CLK)
  1584. /* QSPI_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* QSPI_CLK clock */
  1585. #endif
  1586. #if defined(FEATURE_CLOCK_IP_HAS_QSPI_SFIF_CLK_HYP_PREMUX_CLK)
  1587. /* QSPI_SFIF_CLK_HYP_PREMUX_CLK */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* QSPI_SFIF_CLK_HYP_PREMUX_CLK clock */
  1588. #endif
  1589. #if defined(FEATURE_CLOCK_IP_HAS_QSPI_SFIF_CLK)
  1590. /* QSPI_SFIF_CLK */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* QSPI_SFIF_CLK clock */
  1591. #endif
  1592. #if defined(FEATURE_CLOCK_IP_HAS_QSPI_2xSFIF_CLK)
  1593. /* QSPI_2xSFIF_CLK */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* QSPI_2xSFIF_CLK clock */
  1594. #endif
  1595. /* RTC0_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* RTC0_CLK clock */
  1596. #if defined(FEATURE_CLOCK_IP_HAS_SAI0_CLK)
  1597. /* SAI0_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* SAI0_CLK clock */
  1598. #endif
  1599. #if defined(FEATURE_CLOCK_IP_HAS_SAI1_CLK)
  1600. /* SAI1_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* SAI1_CLK clock */
  1601. #endif
  1602. #if defined(FEATURE_CLOCK_IP_HAS_TRACE_CLK)
  1603. /* TRACE_CLK clock */ (IRCOSC_OBJECT | XOSC_OBJECT | PLL_OBJECT | SELECTOR_OBJECT | DIVIDER_OBJECT | DIVIDER_TRIGGER_OBJECT | FRAC_DIV_OBJECT | EXT_SIG_OBJECT | GATE_OBJECT | PCFS_OBJECT | CMU_OBJECT) , /* TRACE_CLK clock */
  1604. #endif
  1605. };
  1606. #endif /* CLOCK_IP_DEV_ERROR_DETECT == STD_ON */
  1607. #endif /* CLOCK_IP_DEV_ERROR_DETECT */
  1608. /* Clock stop constant section data */
  1609. #define MCU_STOP_SEC_CONST_32
  1610. #include "Mcu_MemMap.h"
  1611. /* Clock start constant section data */
  1612. #define MCU_START_SEC_CONST_UNSPECIFIED
  1613. #include "Mcu_MemMap.h"
  1614. volatile scgPeriphAsyncDiv_Type* const scgPeriphAsyncDivs[PERIPH_ASYNC_COUNT] =
  1615. {
  1616. (volatile scgPeriphAsyncDiv_Type*)( &(IP_SCG->SIRCDIV) ),
  1617. (volatile scgPeriphAsyncDiv_Type*)( &(IP_SCG->FIRCDIV) ),
  1618. (volatile scgPeriphAsyncDiv_Type*)( &(IP_SCG->SOSCDIV) ),
  1619. #if defined(FEATURE_CLOCK_IP_HAS_SPLL_CLK)
  1620. (volatile scgPeriphAsyncDiv_Type*)( &(IP_SCG->SPLLDIV) ),
  1621. #endif
  1622. };
  1623. #if defined(FEATURE_CLOCK_IP_HAS_FIRC_MON1_CLK) || defined(FEATURE_CLOCK_IP_HAS_FIRC_MON2_CLK)
  1624. volatile ClockMonitor_Type* const cmu[CMU_INSTANCES_ARRAY_SIZE] =
  1625. {
  1626. (volatile ClockMonitor_Type*)IP_CMU0,
  1627. (volatile ClockMonitor_Type*)IP_CMU1,
  1628. };
  1629. Clock_Ip_NameType const cmuNames[CMU_INSTANCES_ARRAY_SIZE] =
  1630. {
  1631. FIRC_MON1_CLK,
  1632. FIRC_MON2_CLK,
  1633. };
  1634. cmuInfoType const cmuInfo[CMU_INFO_SIZE] = {
  1635. /* CMU FIRC_MON1_CLK */
  1636. {
  1637. FIRC_MON1_CLK, /* Name of the clock that supports cmu (clock monitor) */
  1638. SIRC_CLK, /* Name of the reference clock */
  1639. BUS_CLK, /* Name of the bus clock */
  1640. (volatile ClockMonitor_Type*)IP_CMU0, /* Cmu instance */
  1641. },
  1642. /* CMU FIRC_MON2_CLK */
  1643. {
  1644. FIRC_MON2_CLK, /* Name of the clock that supports cmu (clock monitor) */
  1645. SIRC_CLK, /* Name of the reference clock */
  1646. BUS_CLK, /* Name of the bus clock */
  1647. (volatile ClockMonitor_Type*)IP_CMU1, /* Cmu instance */
  1648. },
  1649. };
  1650. #endif
  1651. const clock_name_source_type sourceType_clockName[CLOCK_PRODUCERS_NO + 1U] = {
  1652. UKNOWN_TYPE, /*!< CLOCK_IS_OFF */
  1653. IRCOSC_TYPE, /*!< LPO_128K_CLK */
  1654. IRCOSC_TYPE, /*!< SIRC_CLK */
  1655. IRCOSC_TYPE, /*!< SIRC_VLP_CLK */
  1656. IRCOSC_TYPE, /*!< SIRC_STOP_CLK */
  1657. IRCOSC_TYPE, /*!< FIRC_CLK */
  1658. IRCOSC_TYPE, /*!< FIRC_VLP_CLK */
  1659. IRCOSC_TYPE, /*!< FIRC_STOP_CLK */
  1660. XOSC_TYPE, /*!< SOSC_CLK */
  1661. #if defined(FEATURE_CLOCK_IP_HAS_SPLL_CLK)
  1662. PLL_TYPE, /*!< SPLL_CLK */
  1663. #endif
  1664. IRCOSC_TYPE, /*!< SIRCDIV1_CLK */
  1665. IRCOSC_TYPE, /*!< SIRCDIV2_CLK */
  1666. IRCOSC_TYPE, /*!< FIRCDIV1_CLK */
  1667. IRCOSC_TYPE, /*!< FIRCDIV2_CLK */
  1668. XOSC_TYPE, /*!< SOSCDIV1_CLK */
  1669. XOSC_TYPE, /*!< SOSCDIV2_CLK */
  1670. #if defined(FEATURE_CLOCK_IP_HAS_SPLLDIV1_CLK)
  1671. PLL_TYPE, /*!< SPLLDIV1_CLK */
  1672. #endif
  1673. #if defined(FEATURE_CLOCK_IP_HAS_SPLLDIV2_CLK)
  1674. PLL_TYPE, /*!< SPLLDIV2_CLK */
  1675. #endif
  1676. IRCOSC_TYPE, /*!< LPO_32K_CLK */
  1677. IRCOSC_TYPE, /*!< LPO_1K_CLK */
  1678. EXT_CLK_TYPE, /*!< TCLK0_REF_CLK */
  1679. EXT_CLK_TYPE, /*!< TCLK1_REF_CLK */
  1680. EXT_CLK_TYPE, /*!< TCLK2_REF_CLK */
  1681. EXT_CLK_TYPE, /*!< RTC_CLKIN */
  1682. UKNOWN_TYPE, /*!< SCS_CLK */
  1683. UKNOWN_TYPE, /*!< SCS_RUN_CLK */
  1684. UKNOWN_TYPE, /*!< SCS_VLPR_CLK */
  1685. #if defined(FEATURE_CLOCK_IP_HAS_SCS_HSRUN_CLK)
  1686. UKNOWN_TYPE, /*!< SCS_HSRUN_CLK */
  1687. #endif
  1688. UKNOWN_TYPE, /*!< CORE_CLK */
  1689. UKNOWN_TYPE, /*!< CORE_RUN_CLK */
  1690. UKNOWN_TYPE, /*!< CORE_VLPR_CLK */
  1691. #if defined(FEATURE_CLOCK_IP_HAS_CORE_HSRUN_CLK)
  1692. UKNOWN_TYPE, /*!< CORE_HSRUN_CLK */
  1693. #endif
  1694. UKNOWN_TYPE, /*!< BUS_CLK */
  1695. UKNOWN_TYPE, /*!< BUS_RUN_CLK */
  1696. UKNOWN_TYPE, /*!< BUS_VLPR_CLK */
  1697. #if defined(FEATURE_CLOCK_IP_HAS_CORE_HSRUN_CLK)
  1698. UKNOWN_TYPE, /*!< BUS_HSRUN_CLK */
  1699. #endif
  1700. UKNOWN_TYPE, /*!< SLOW_CLK */
  1701. UKNOWN_TYPE, /*!< SLOW_RUN_CLK */
  1702. UKNOWN_TYPE, /*!< SLOW_VLPR_CLK */
  1703. #if defined(FEATURE_CLOCK_IP_HAS_CORE_HSRUN_CLK)
  1704. UKNOWN_TYPE, /*!< SLOW_HSRUN_CLK */
  1705. #endif
  1706. UKNOWN_TYPE, /*!< RTC_CLK */
  1707. UKNOWN_TYPE, /*!< LPO_CLK */
  1708. UKNOWN_TYPE, /*!< SCG_CLKOUT_CLK */
  1709. UKNOWN_TYPE, /*!< FTM0_EXT_CLK */
  1710. UKNOWN_TYPE, /*!< FTM1_EXT_CLK */
  1711. #if defined(FEATURE_CLOCK_IP_HAS_FTM4_EXT_CLK)
  1712. UKNOWN_TYPE, /*!< FTM2_EXT_CLK */
  1713. #endif
  1714. #if defined(FEATURE_CLOCK_IP_HAS_FTM4_EXT_CLK)
  1715. UKNOWN_TYPE, /*!< FTM3_EXT_CLK */
  1716. #endif
  1717. #if defined(FEATURE_CLOCK_IP_HAS_FTM4_EXT_CLK)
  1718. UKNOWN_TYPE, /*!< FTM4_EXT_CLK */
  1719. #endif
  1720. #if defined(FEATURE_CLOCK_IP_HAS_FTM5_EXT_CLK)
  1721. UKNOWN_TYPE, /*!< FTM5_EXT_CLK */
  1722. #endif
  1723. #if defined(FEATURE_CLOCK_IP_HAS_FTM6_EXT_CLK)
  1724. UKNOWN_TYPE, /*!< FTM6_EXT_CLK */
  1725. #endif
  1726. #if defined(FEATURE_CLOCK_IP_HAS_FTM7_EXT_CLK)
  1727. UKNOWN_TYPE, /*!< FTM7_EXT_CLK */
  1728. #endif
  1729. };
  1730. #if defined(FEATURE_CLOCK_IP_HAS_SPLL_CLK)
  1731. const Clock_Ip_NameType HwPllName[NUMBER_OF_HARDWARE_PLL] =
  1732. {
  1733. SPLL_CLK /* SPLL_CLK clock */
  1734. };
  1735. #endif
  1736. /* Clock stop constant section data */
  1737. #define MCU_STOP_SEC_CONST_UNSPECIFIED
  1738. #include "Mcu_MemMap.h"
  1739. /*==================================================================================================
  1740. GLOBAL VARIABLES
  1741. ==================================================================================================*/
  1742. /*==================================================================================================
  1743. * LOCAL FUNCTION PROTOTYPES
  1744. ==================================================================================================*/
  1745. /*==================================================================================================
  1746. * LOCAL FUNCTIONS
  1747. ==================================================================================================*/
  1748. /*==================================================================================================
  1749. * GLOBAL FUNCTIONS
  1750. ==================================================================================================*/
  1751. /*! @}*/
  1752. /*******************************************************************************
  1753. * EOF
  1754. ******************************************************************************/