MK82F25615_features.h 111 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101
  1. /*
  2. ** ###################################################################
  3. ** Version: rev. 1.5, 2015-08-17
  4. ** Build: b180410
  5. **
  6. ** Abstract:
  7. ** Chip specific module features.
  8. **
  9. ** The Clear BSD License
  10. ** Copyright 2016 Freescale Semiconductor, Inc.
  11. ** Copyright 2016-2018 NXP
  12. ** All rights reserved.
  13. **
  14. ** Redistribution and use in source and binary forms, with or without
  15. ** modification, are permitted (subject to the limitations in the
  16. ** disclaimer below) provided that the following conditions are met:
  17. **
  18. ** * Redistributions of source code must retain the above copyright
  19. ** notice, this list of conditions and the following disclaimer.
  20. **
  21. ** * Redistributions in binary form must reproduce the above copyright
  22. ** notice, this list of conditions and the following disclaimer in the
  23. ** documentation and/or other materials provided with the distribution.
  24. **
  25. ** * Neither the name of the copyright holder nor the names of its
  26. ** contributors may be used to endorse or promote products derived from
  27. ** this software without specific prior written permission.
  28. **
  29. ** NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE
  30. ** GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT
  31. ** HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
  32. ** WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  33. ** MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  34. ** DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
  35. ** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  36. ** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  37. ** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
  38. ** BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  39. ** WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
  40. ** OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
  41. ** IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  42. **
  43. ** http: www.nxp.com
  44. ** mail: support@nxp.com
  45. **
  46. ** Revisions:
  47. ** - rev. 1.0 (2015-04-09)
  48. ** Initial version
  49. ** - rev. 1.1 (2015-05-19)
  50. ** FSL_FEATURE_SOC_CAU_COUNT remamed to FSL_FEATURE_SOC_MMCAU_COUNT.
  51. ** Added FSL_FEATURE_SOC_peripheral_COUNT for TRNG and HSADC.
  52. ** Added features for PDB, PORT and LTC.
  53. ** - rev. 1.2 (2015-05-25)
  54. ** Added FSL_FEATURE_FLASH_PFLASH_START_ADDRESS
  55. ** - rev. 1.3 (2015-05-27)
  56. ** Several USB features added.
  57. ** - rev. 1.4 (2015-06-08)
  58. ** FTM features BUS_CLOCK and FAST_CLOCK removed.
  59. ** - rev. 1.5 (2015-08-17)
  60. ** LLWU features updated (pinout update).
  61. **
  62. ** ###################################################################
  63. */
  64. #ifndef _MK82F25615_FEATURES_H_
  65. #define _MK82F25615_FEATURES_H_
  66. /* SOC module features */
  67. /* @brief ADC16 availability on the SoC. */
  68. #define FSL_FEATURE_SOC_ADC16_COUNT (1)
  69. /* @brief AIPS availability on the SoC. */
  70. #define FSL_FEATURE_SOC_AIPS_COUNT (2)
  71. /* @brief AXBS availability on the SoC. */
  72. #define FSL_FEATURE_SOC_AXBS_COUNT (1)
  73. /* @brief MMCAU availability on the SoC. */
  74. #define FSL_FEATURE_SOC_MMCAU_COUNT (1)
  75. /* @brief CMP availability on the SoC. */
  76. #define FSL_FEATURE_SOC_CMP_COUNT (2)
  77. /* @brief CMT availability on the SoC. */
  78. #define FSL_FEATURE_SOC_CMT_COUNT (1)
  79. /* @brief CRC availability on the SoC. */
  80. #define FSL_FEATURE_SOC_CRC_COUNT (1)
  81. /* @brief DAC availability on the SoC. */
  82. #define FSL_FEATURE_SOC_DAC_COUNT (1)
  83. /* @brief EDMA availability on the SoC. */
  84. #define FSL_FEATURE_SOC_EDMA_COUNT (1)
  85. /* @brief DMAMUX availability on the SoC. */
  86. #define FSL_FEATURE_SOC_DMAMUX_COUNT (1)
  87. /* @brief DSPI availability on the SoC. */
  88. #define FSL_FEATURE_SOC_DSPI_COUNT (3)
  89. /* @brief EMVSIM availability on the SoC. */
  90. #define FSL_FEATURE_SOC_EMVSIM_COUNT (2)
  91. /* @brief EWM availability on the SoC. */
  92. #define FSL_FEATURE_SOC_EWM_COUNT (1)
  93. /* @brief FB availability on the SoC. */
  94. #define FSL_FEATURE_SOC_FB_COUNT (1)
  95. /* @brief FLEXIO availability on the SoC. */
  96. #define FSL_FEATURE_SOC_FLEXIO_COUNT (1)
  97. /* @brief FMC availability on the SoC. */
  98. #define FSL_FEATURE_SOC_FMC_COUNT (1)
  99. /* @brief FTFA availability on the SoC. */
  100. #define FSL_FEATURE_SOC_FTFA_COUNT (1)
  101. /* @brief FTM availability on the SoC. */
  102. #define FSL_FEATURE_SOC_FTM_COUNT (4)
  103. /* @brief GPIO availability on the SoC. */
  104. #define FSL_FEATURE_SOC_GPIO_COUNT (5)
  105. /* @brief I2C availability on the SoC. */
  106. #define FSL_FEATURE_SOC_I2C_COUNT (4)
  107. /* @brief I2S availability on the SoC. */
  108. #define FSL_FEATURE_SOC_I2S_COUNT (1)
  109. /* @brief LLWU availability on the SoC. */
  110. #define FSL_FEATURE_SOC_LLWU_COUNT (1)
  111. /* @brief LMEM availability on the SoC. */
  112. #define FSL_FEATURE_SOC_LMEM_COUNT (1)
  113. /* @brief LPTMR availability on the SoC. */
  114. #define FSL_FEATURE_SOC_LPTMR_COUNT (2)
  115. /* @brief LPUART availability on the SoC. */
  116. #define FSL_FEATURE_SOC_LPUART_COUNT (5)
  117. /* @brief LTC availability on the SoC. */
  118. #define FSL_FEATURE_SOC_LTC_COUNT (1)
  119. /* @brief MCG availability on the SoC. */
  120. #define FSL_FEATURE_SOC_MCG_COUNT (1)
  121. /* @brief MCM availability on the SoC. */
  122. #define FSL_FEATURE_SOC_MCM_COUNT (1)
  123. /* @brief SYSMPU availability on the SoC. */
  124. #define FSL_FEATURE_SOC_SYSMPU_COUNT (1)
  125. /* @brief OSC availability on the SoC. */
  126. #define FSL_FEATURE_SOC_OSC_COUNT (1)
  127. /* @brief OTFAD availability on the SoC. */
  128. #define FSL_FEATURE_SOC_OTFAD_COUNT (1)
  129. /* @brief PDB availability on the SoC. */
  130. #define FSL_FEATURE_SOC_PDB_COUNT (1)
  131. /* @brief PIT availability on the SoC. */
  132. #define FSL_FEATURE_SOC_PIT_COUNT (1)
  133. /* @brief PMC availability on the SoC. */
  134. #define FSL_FEATURE_SOC_PMC_COUNT (1)
  135. /* @brief PORT availability on the SoC. */
  136. #define FSL_FEATURE_SOC_PORT_COUNT (5)
  137. /* @brief QuadSPI availability on the SoC. */
  138. #define FSL_FEATURE_SOC_QuadSPI_COUNT (1)
  139. /* @brief RCM availability on the SoC. */
  140. #define FSL_FEATURE_SOC_RCM_COUNT (1)
  141. /* @brief RFSYS availability on the SoC. */
  142. #define FSL_FEATURE_SOC_RFSYS_COUNT (1)
  143. /* @brief RFVBAT availability on the SoC. */
  144. #define FSL_FEATURE_SOC_RFVBAT_COUNT (1)
  145. /* @brief RTC availability on the SoC. */
  146. #define FSL_FEATURE_SOC_RTC_COUNT (1)
  147. /* @brief SDHC availability on the SoC. */
  148. #define FSL_FEATURE_SOC_SDHC_COUNT (1)
  149. /* @brief SDRAM availability on the SoC. */
  150. #define FSL_FEATURE_SOC_SDRAM_COUNT (1)
  151. /* @brief SIM availability on the SoC. */
  152. #define FSL_FEATURE_SOC_SIM_COUNT (1)
  153. /* @brief SMC availability on the SoC. */
  154. #define FSL_FEATURE_SOC_SMC_COUNT (1)
  155. /* @brief TPM availability on the SoC. */
  156. #define FSL_FEATURE_SOC_TPM_COUNT (2)
  157. /* @brief TRNG availability on the SoC. */
  158. #define FSL_FEATURE_SOC_TRNG_COUNT (1)
  159. /* @brief TSI availability on the SoC. */
  160. #define FSL_FEATURE_SOC_TSI_COUNT (1)
  161. /* @brief USB availability on the SoC. */
  162. #define FSL_FEATURE_SOC_USB_COUNT (1)
  163. /* @brief USBDCD availability on the SoC. */
  164. #define FSL_FEATURE_SOC_USBDCD_COUNT (1)
  165. /* @brief VREF availability on the SoC. */
  166. #define FSL_FEATURE_SOC_VREF_COUNT (1)
  167. /* @brief WDOG availability on the SoC. */
  168. #define FSL_FEATURE_SOC_WDOG_COUNT (1)
  169. /* ADC16 module features */
  170. /* @brief Has Programmable Gain Amplifier (PGA) in ADC (register PGA). */
  171. #define FSL_FEATURE_ADC16_HAS_PGA (0)
  172. /* @brief Has PGA chopping control in ADC (bit PGA[PGACHPb] or PGA[PGACHP]). */
  173. #define FSL_FEATURE_ADC16_HAS_PGA_CHOPPING (0)
  174. /* @brief Has PGA offset measurement mode in ADC (bit PGA[PGAOFSM]). */
  175. #define FSL_FEATURE_ADC16_HAS_PGA_OFFSET_MEASUREMENT (0)
  176. /* @brief Has DMA support (bit SC2[DMAEN] or SC4[DMAEN]). */
  177. #define FSL_FEATURE_ADC16_HAS_DMA (1)
  178. /* @brief Has differential mode (bitfield SC1x[DIFF]). */
  179. #define FSL_FEATURE_ADC16_HAS_DIFF_MODE (1)
  180. /* @brief Has FIFO (bit SC4[AFDEP]). */
  181. #define FSL_FEATURE_ADC16_HAS_FIFO (0)
  182. /* @brief FIFO size if available (bitfield SC4[AFDEP]). */
  183. #define FSL_FEATURE_ADC16_FIFO_SIZE (0)
  184. /* @brief Has channel set a/b multiplexor (bitfield CFG2[MUXSEL]). */
  185. #define FSL_FEATURE_ADC16_HAS_MUX_SELECT (1)
  186. /* @brief Has HW trigger masking (bitfield SC5[HTRGMASKE]. */
  187. #define FSL_FEATURE_ADC16_HAS_HW_TRIGGER_MASK (0)
  188. /* @brief Has calibration feature (bit SC3[CAL] and registers CLPx, CLMx). */
  189. #define FSL_FEATURE_ADC16_HAS_CALIBRATION (1)
  190. /* @brief Has HW averaging (bit SC3[AVGE]). */
  191. #define FSL_FEATURE_ADC16_HAS_HW_AVERAGE (1)
  192. /* @brief Has offset correction (register OFS). */
  193. #define FSL_FEATURE_ADC16_HAS_OFFSET_CORRECTION (1)
  194. /* @brief Maximum ADC resolution. */
  195. #define FSL_FEATURE_ADC16_MAX_RESOLUTION (16)
  196. /* @brief Number of SC1x and Rx register pairs (conversion control and result registers). */
  197. #define FSL_FEATURE_ADC16_CONVERSION_CONTROL_COUNT (2)
  198. /* CMP module features */
  199. /* @brief Has Trigger mode in CMP (register bit field CR1[TRIGM]). */
  200. #define FSL_FEATURE_CMP_HAS_TRIGGER_MODE (1)
  201. /* @brief Has Window mode in CMP (register bit field CR1[WE]). */
  202. #define FSL_FEATURE_CMP_HAS_WINDOW_MODE (1)
  203. /* @brief Has External sample supported in CMP (register bit field CR1[SE]). */
  204. #define FSL_FEATURE_CMP_HAS_EXTERNAL_SAMPLE_SUPPORT (1)
  205. /* @brief Has DMA support in CMP (register bit field SCR[DMAEN]). */
  206. #define FSL_FEATURE_CMP_HAS_DMA (1)
  207. /* @brief Has Pass Through mode in CMP (register bit field MUXCR[PSTM]). */
  208. #define FSL_FEATURE_CMP_HAS_PASS_THROUGH_MODE (0)
  209. /* @brief Has DAC Test function in CMP (register DACTEST). */
  210. #define FSL_FEATURE_CMP_HAS_DAC_TEST (0)
  211. /* CRC module features */
  212. /* @brief Has data register with name CRC */
  213. #define FSL_FEATURE_CRC_HAS_CRC_REG (0)
  214. /* DAC module features */
  215. /* @brief Define the size of hardware buffer */
  216. #define FSL_FEATURE_DAC_BUFFER_SIZE (16)
  217. /* @brief Define whether the buffer supports watermark event detection or not. */
  218. #define FSL_FEATURE_DAC_HAS_WATERMARK_DETECTION (1)
  219. /* @brief Define whether the buffer supports watermark selection detection or not. */
  220. #define FSL_FEATURE_DAC_HAS_WATERMARK_SELECTION (1)
  221. /* @brief Define whether the buffer supports watermark event 1 word before buffer upper limit. */
  222. #define FSL_FEATURE_DAC_HAS_WATERMARK_1_WORD (1)
  223. /* @brief Define whether the buffer supports watermark event 2 words before buffer upper limit. */
  224. #define FSL_FEATURE_DAC_HAS_WATERMARK_2_WORDS (1)
  225. /* @brief Define whether the buffer supports watermark event 3 words before buffer upper limit. */
  226. #define FSL_FEATURE_DAC_HAS_WATERMARK_3_WORDS (1)
  227. /* @brief Define whether the buffer supports watermark event 4 words before buffer upper limit. */
  228. #define FSL_FEATURE_DAC_HAS_WATERMARK_4_WORDS (1)
  229. /* @brief Define whether FIFO buffer mode is available or not. */
  230. #define FSL_FEATURE_DAC_HAS_BUFFER_FIFO_MODE (1)
  231. /* @brief Define whether swing buffer mode is available or not.. */
  232. #define FSL_FEATURE_DAC_HAS_BUFFER_SWING_MODE (1)
  233. /* EDMA module features */
  234. /* @brief Number of DMA channels (related to number of registers TCD, DCHPRI, bit fields ERQ[ERQn], EEI[EEIn], INT[INTn], ERR[ERRn], HRS[HRSn] and bit field widths ES[ERRCHN], CEEI[CEEI], SEEI[SEEI], CERQ[CERQ], SERQ[SERQ], CDNE[CDNE], SSRT[SSRT], CERR[CERR], CINT[CINT], TCDn_CITER_ELINKYES[LINKCH], TCDn_CSR[MAJORLINKCH], TCDn_BITER_ELINKYES[LINKCH]). (Valid only for eDMA modules.) */
  235. #define FSL_FEATURE_EDMA_MODULE_CHANNEL (32)
  236. /* @brief Total number of DMA channels on all modules. */
  237. #define FSL_FEATURE_EDMA_DMAMUX_CHANNELS (FSL_FEATURE_SOC_EDMA_COUNT * 32)
  238. /* @brief Number of DMA channel groups (register bit fields CR[ERGA], CR[GRPnPRI], ES[GPE], DCHPRIn[GRPPRI]). (Valid only for eDMA modules.) */
  239. #define FSL_FEATURE_EDMA_CHANNEL_GROUP_COUNT (2)
  240. /* @brief Has DMA_Error interrupt vector. */
  241. #define FSL_FEATURE_EDMA_HAS_ERROR_IRQ (1)
  242. /* @brief Number of DMA channels with asynchronous request capability (register EARS). (Valid only for eDMA modules.) */
  243. #define FSL_FEATURE_EDMA_ASYNCHRO_REQUEST_CHANNEL_COUNT (32)
  244. /* DMAMUX module features */
  245. /* @brief Number of DMA channels (related to number of register CHCFGn). */
  246. #define FSL_FEATURE_DMAMUX_MODULE_CHANNEL (32)
  247. /* @brief Total number of DMA channels on all modules. */
  248. #define FSL_FEATURE_DMAMUX_DMAMUX_CHANNELS (FSL_FEATURE_SOC_DMAMUX_COUNT * 32)
  249. /* @brief Has the periodic trigger capability for the triggered DMA channel (register bit CHCFG0[TRIG]). */
  250. #define FSL_FEATURE_DMAMUX_HAS_TRIG (1)
  251. /* EWM module features */
  252. /* @brief Has clock select (register CLKCTRL). */
  253. #define FSL_FEATURE_EWM_HAS_CLOCK_SELECT (1)
  254. /* @brief Has clock prescaler (register CLKPRESCALER). */
  255. #define FSL_FEATURE_EWM_HAS_PRESCALER (1)
  256. /* FLEXBUS module features */
  257. /* No feature definitions */
  258. /* FLEXIO module features */
  259. /* @brief Has Shifter Status Register (FLEXIO_SHIFTSTAT) */
  260. #define FSL_FEATURE_FLEXIO_HAS_SHIFTER_STATUS (1)
  261. /* @brief Has Pin Data Input Register (FLEXIO_PIN) */
  262. #define FSL_FEATURE_FLEXIO_HAS_PIN_STATUS (1)
  263. /* @brief Has Shifter Buffer N Nibble Byte Swapped Register (FLEXIO_SHIFTBUFNBSn) */
  264. #define FSL_FEATURE_FLEXIO_HAS_SHFT_BUFFER_NIBBLE_BYTE_SWAP (1)
  265. /* @brief Has Shifter Buffer N Half Word Swapped Register (FLEXIO_SHIFTBUFHWSn) */
  266. #define FSL_FEATURE_FLEXIO_HAS_SHFT_BUFFER_HALF_WORD_SWAP (1)
  267. /* @brief Has Shifter Buffer N Nibble Swapped Register (FLEXIO_SHIFTBUFNISn) */
  268. #define FSL_FEATURE_FLEXIO_HAS_SHFT_BUFFER_NIBBLE_SWAP (1)
  269. /* @brief Supports Shifter State Mode (FLEXIO_SHIFTCTLn[SMOD]) */
  270. #define FSL_FEATURE_FLEXIO_HAS_STATE_MODE (1)
  271. /* @brief Supports Shifter Logic Mode (FLEXIO_SHIFTCTLn[SMOD]) */
  272. #define FSL_FEATURE_FLEXIO_HAS_LOGIC_MODE (1)
  273. /* @brief Supports paralle width (FLEXIO_SHIFTCFGn[PWIDTH]) */
  274. #define FSL_FEATURE_FLEXIO_HAS_PARALLEL_WIDTH (1)
  275. /* @brief Reset value of the FLEXIO_VERID register */
  276. #define FSL_FEATURE_FLEXIO_VERID_RESET_VALUE (0x1010001)
  277. /* @brief Reset value of the FLEXIO_PARAM register */
  278. #define FSL_FEATURE_FLEXIO_PARAM_RESET_VALUE (0x10200808)
  279. /* @brief Flexio DMA request base channel */
  280. #define FSL_FEATURE_FLEXIO_DMA_REQUEST_BASE_CHANNEL (16)
  281. /* FLASH module features */
  282. /* @brief Is of type FTFA. */
  283. #define FSL_FEATURE_FLASH_IS_FTFA (1)
  284. /* @brief Is of type FTFE. */
  285. #define FSL_FEATURE_FLASH_IS_FTFE (0)
  286. /* @brief Is of type FTFL. */
  287. #define FSL_FEATURE_FLASH_IS_FTFL (0)
  288. /* @brief Has flags indicating the status of the FlexRAM (register bits FCNFG[EEERDY], FCNFG[RAMRDY] and FCNFG[PFLSH]). */
  289. #define FSL_FEATURE_FLASH_HAS_FLEX_RAM_FLAGS (0)
  290. /* @brief Has program flash swapping status flag (register bit FCNFG[SWAP]). */
  291. #define FSL_FEATURE_FLASH_HAS_PFLASH_SWAPPING_STATUS_FLAG (0)
  292. /* @brief Has EEPROM region protection (register FEPROT). */
  293. #define FSL_FEATURE_FLASH_HAS_EEROM_REGION_PROTECTION (0)
  294. /* @brief Has data flash region protection (register FDPROT). */
  295. #define FSL_FEATURE_FLASH_HAS_DATA_FLASH_REGION_PROTECTION (0)
  296. /* @brief Has flash access control (registers XACCHn, SACCHn, where n is a number, FACSS and FACSN). */
  297. #define FSL_FEATURE_FLASH_HAS_ACCESS_CONTROL (1)
  298. /* @brief Has flash cache control in FMC module. */
  299. #define FSL_FEATURE_FLASH_HAS_FMC_FLASH_CACHE_CONTROLS (1)
  300. /* @brief Has flash cache control in MCM module. */
  301. #define FSL_FEATURE_FLASH_HAS_MCM_FLASH_CACHE_CONTROLS (0)
  302. /* @brief Has flash cache control in MSCM module. */
  303. #define FSL_FEATURE_FLASH_HAS_MSCM_FLASH_CACHE_CONTROLS (0)
  304. /* @brief Has prefetch speculation control in flash, such as kv5x. */
  305. #define FSL_FEATURE_FLASH_PREFETCH_SPECULATION_CONTROL_IN_FLASH (0)
  306. /* @brief P-Flash flash size coding rule version, value 0 for K1 and K2, value 1 for K3. */
  307. #define FSL_FEATURE_FLASH_SIZE_ENCODING_RULE_VERSION (0)
  308. /* @brief P-Flash start address. */
  309. #define FSL_FEATURE_FLASH_PFLASH_START_ADDRESS (0x00000000)
  310. /* @brief P-Flash block count. */
  311. #define FSL_FEATURE_FLASH_PFLASH_BLOCK_COUNT (1)
  312. /* @brief P-Flash block size. */
  313. #define FSL_FEATURE_FLASH_PFLASH_BLOCK_SIZE (262144)
  314. /* @brief P-Flash sector size. */
  315. #define FSL_FEATURE_FLASH_PFLASH_BLOCK_SECTOR_SIZE (4096)
  316. /* @brief P-Flash write unit size. */
  317. #define FSL_FEATURE_FLASH_PFLASH_BLOCK_WRITE_UNIT_SIZE (4)
  318. /* @brief P-Flash data path width. */
  319. #define FSL_FEATURE_FLASH_PFLASH_BLOCK_DATA_PATH_WIDTH (16)
  320. /* @brief P-Flash block swap feature. */
  321. #define FSL_FEATURE_FLASH_HAS_PFLASH_BLOCK_SWAP (0)
  322. /* @brief P-Flash protection region count. */
  323. #define FSL_FEATURE_FLASH_PFLASH_PROTECTION_REGION_COUNT (32)
  324. /* @brief Has FlexNVM memory. */
  325. #define FSL_FEATURE_FLASH_HAS_FLEX_NVM (0)
  326. /* @brief FlexNVM start address. (Valid only if FlexNVM is available.) */
  327. #define FSL_FEATURE_FLASH_FLEX_NVM_START_ADDRESS (0x00000000)
  328. /* @brief FlexNVM block count. */
  329. #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_COUNT (0)
  330. /* @brief FlexNVM block size. */
  331. #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_SIZE (0)
  332. /* @brief FlexNVM sector size. */
  333. #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_SECTOR_SIZE (0)
  334. /* @brief FlexNVM write unit size. */
  335. #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_WRITE_UNIT_SIZE (0)
  336. /* @brief FlexNVM data path width. */
  337. #define FSL_FEATURE_FLASH_FLEX_BLOCK_DATA_PATH_WIDTH (0)
  338. /* @brief Has FlexRAM memory. */
  339. #define FSL_FEATURE_FLASH_HAS_FLEX_RAM (0)
  340. /* @brief FlexRAM start address. (Valid only if FlexRAM is available.) */
  341. #define FSL_FEATURE_FLASH_FLEX_RAM_START_ADDRESS (0x00000000)
  342. /* @brief FlexRAM size. */
  343. #define FSL_FEATURE_FLASH_FLEX_RAM_SIZE (0)
  344. /* @brief Has 0x00 Read 1s Block command. */
  345. #define FSL_FEATURE_FLASH_HAS_READ_1S_BLOCK_CMD (0)
  346. /* @brief Has 0x01 Read 1s Section command. */
  347. #define FSL_FEATURE_FLASH_HAS_READ_1S_SECTION_CMD (1)
  348. /* @brief Has 0x02 Program Check command. */
  349. #define FSL_FEATURE_FLASH_HAS_PROGRAM_CHECK_CMD (1)
  350. /* @brief Has 0x03 Read Resource command. */
  351. #define FSL_FEATURE_FLASH_HAS_READ_RESOURCE_CMD (1)
  352. /* @brief Has 0x06 Program Longword command. */
  353. #define FSL_FEATURE_FLASH_HAS_PROGRAM_LONGWORD_CMD (1)
  354. /* @brief Has 0x07 Program Phrase command. */
  355. #define FSL_FEATURE_FLASH_HAS_PROGRAM_PHRASE_CMD (0)
  356. /* @brief Has 0x08 Erase Flash Block command. */
  357. #define FSL_FEATURE_FLASH_HAS_ERASE_FLASH_BLOCK_CMD (0)
  358. /* @brief Has 0x09 Erase Flash Sector command. */
  359. #define FSL_FEATURE_FLASH_HAS_ERASE_FLASH_SECTOR_CMD (1)
  360. /* @brief Has 0x0B Program Section command. */
  361. #define FSL_FEATURE_FLASH_HAS_PROGRAM_SECTION_CMD (0)
  362. /* @brief Has 0x40 Read 1s All Blocks command. */
  363. #define FSL_FEATURE_FLASH_HAS_READ_1S_ALL_BLOCKS_CMD (1)
  364. /* @brief Has 0x41 Read Once command. */
  365. #define FSL_FEATURE_FLASH_HAS_READ_ONCE_CMD (1)
  366. /* @brief Has 0x43 Program Once command. */
  367. #define FSL_FEATURE_FLASH_HAS_PROGRAM_ONCE_CMD (1)
  368. /* @brief Has 0x44 Erase All Blocks command. */
  369. #define FSL_FEATURE_FLASH_HAS_ERASE_ALL_BLOCKS_CMD (1)
  370. /* @brief Has 0x45 Verify Backdoor Access Key command. */
  371. #define FSL_FEATURE_FLASH_HAS_VERIFY_BACKDOOR_ACCESS_KEY_CMD (1)
  372. /* @brief Has 0x46 Swap Control command. */
  373. #define FSL_FEATURE_FLASH_HAS_SWAP_CONTROL_CMD (0)
  374. /* @brief Has 0x49 Erase All Blocks Unsecure command. */
  375. #define FSL_FEATURE_FLASH_HAS_ERASE_ALL_BLOCKS_UNSECURE_CMD (1)
  376. /* @brief Has 0x4A Read 1s All Execute-only Segments command. */
  377. #define FSL_FEATURE_FLASH_HAS_READ_1S_ALL_EXECUTE_ONLY_SEGMENTS_CMD (0)
  378. /* @brief Has 0x4B Erase All Execute-only Segments command. */
  379. #define FSL_FEATURE_FLASH_HAS_ERASE_ALL_EXECUTE_ONLY_SEGMENTS_CMD (0)
  380. /* @brief Has 0x80 Program Partition command. */
  381. #define FSL_FEATURE_FLASH_HAS_PROGRAM_PARTITION_CMD (0)
  382. /* @brief Has 0x81 Set FlexRAM Function command. */
  383. #define FSL_FEATURE_FLASH_HAS_SET_FLEXRAM_FUNCTION_CMD (0)
  384. /* @brief P-Flash Erase/Read 1st all block command address alignment. */
  385. #define FSL_FEATURE_FLASH_PFLASH_BLOCK_CMD_ADDRESS_ALIGMENT (16)
  386. /* @brief P-Flash Erase sector command address alignment. */
  387. #define FSL_FEATURE_FLASH_PFLASH_SECTOR_CMD_ADDRESS_ALIGMENT (16)
  388. /* @brief P-Flash Rrogram/Verify section command address alignment. */
  389. #define FSL_FEATURE_FLASH_PFLASH_SECTION_CMD_ADDRESS_ALIGMENT (16)
  390. /* @brief P-Flash Read resource command address alignment. */
  391. #define FSL_FEATURE_FLASH_PFLASH_RESOURCE_CMD_ADDRESS_ALIGMENT (4)
  392. /* @brief P-Flash Program check command address alignment. */
  393. #define FSL_FEATURE_FLASH_PFLASH_CHECK_CMD_ADDRESS_ALIGMENT (4)
  394. /* @brief P-Flash Program check command address alignment. */
  395. #define FSL_FEATURE_FLASH_PFLASH_SWAP_CONTROL_CMD_ADDRESS_ALIGMENT (0)
  396. /* @brief FlexNVM Erase/Read 1st all block command address alignment. */
  397. #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_CMD_ADDRESS_ALIGMENT (0)
  398. /* @brief FlexNVM Erase sector command address alignment. */
  399. #define FSL_FEATURE_FLASH_FLEX_NVM_SECTOR_CMD_ADDRESS_ALIGMENT (0)
  400. /* @brief FlexNVM Rrogram/Verify section command address alignment. */
  401. #define FSL_FEATURE_FLASH_FLEX_NVM_SECTION_CMD_ADDRESS_ALIGMENT (0)
  402. /* @brief FlexNVM Read resource command address alignment. */
  403. #define FSL_FEATURE_FLASH_FLEX_NVM_RESOURCE_CMD_ADDRESS_ALIGMENT (0)
  404. /* @brief FlexNVM Program check command address alignment. */
  405. #define FSL_FEATURE_FLASH_FLEX_NVM_CHECK_CMD_ADDRESS_ALIGMENT (0)
  406. /* @brief FlexNVM partition code 0000 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
  407. #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0000 (0xFFFFFFFF)
  408. /* @brief FlexNVM partition code 0001 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
  409. #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0001 (0xFFFFFFFF)
  410. /* @brief FlexNVM partition code 0010 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
  411. #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0010 (0xFFFFFFFF)
  412. /* @brief FlexNVM partition code 0011 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
  413. #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0011 (0xFFFFFFFF)
  414. /* @brief FlexNVM partition code 0100 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
  415. #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0100 (0xFFFFFFFF)
  416. /* @brief FlexNVM partition code 0101 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
  417. #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0101 (0xFFFFFFFF)
  418. /* @brief FlexNVM partition code 0110 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
  419. #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0110 (0xFFFFFFFF)
  420. /* @brief FlexNVM partition code 0111 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
  421. #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0111 (0xFFFFFFFF)
  422. /* @brief FlexNVM partition code 1000 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
  423. #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1000 (0xFFFFFFFF)
  424. /* @brief FlexNVM partition code 1001 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
  425. #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1001 (0xFFFFFFFF)
  426. /* @brief FlexNVM partition code 1010 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
  427. #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1010 (0xFFFFFFFF)
  428. /* @brief FlexNVM partition code 1011 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
  429. #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1011 (0xFFFFFFFF)
  430. /* @brief FlexNVM partition code 1100 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
  431. #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1100 (0xFFFFFFFF)
  432. /* @brief FlexNVM partition code 1101 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
  433. #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1101 (0xFFFFFFFF)
  434. /* @brief FlexNVM partition code 1110 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
  435. #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1110 (0xFFFFFFFF)
  436. /* @brief FlexNVM partition code 1111 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
  437. #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1111 (0xFFFFFFFF)
  438. /* @brief Emulated eeprom size code 0000 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
  439. #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0000 (0xFFFF)
  440. /* @brief Emulated eeprom size code 0001 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
  441. #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0001 (0xFFFF)
  442. /* @brief Emulated eeprom size code 0010 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
  443. #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0010 (0xFFFF)
  444. /* @brief Emulated eeprom size code 0011 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
  445. #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0011 (0xFFFF)
  446. /* @brief Emulated eeprom size code 0100 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
  447. #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0100 (0xFFFF)
  448. /* @brief Emulated eeprom size code 0101 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
  449. #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0101 (0xFFFF)
  450. /* @brief Emulated eeprom size code 0110 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
  451. #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0110 (0xFFFF)
  452. /* @brief Emulated eeprom size code 0111 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
  453. #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0111 (0xFFFF)
  454. /* @brief Emulated eeprom size code 1000 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
  455. #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1000 (0xFFFF)
  456. /* @brief Emulated eeprom size code 1001 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
  457. #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1001 (0xFFFF)
  458. /* @brief Emulated eeprom size code 1010 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
  459. #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1010 (0xFFFF)
  460. /* @brief Emulated eeprom size code 1011 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
  461. #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1011 (0xFFFF)
  462. /* @brief Emulated eeprom size code 1100 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
  463. #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1100 (0xFFFF)
  464. /* @brief Emulated eeprom size code 1101 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
  465. #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1101 (0xFFFF)
  466. /* @brief Emulated eeprom size code 1110 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
  467. #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1110 (0xFFFF)
  468. /* @brief Emulated eeprom size code 1111 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
  469. #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1111 (0xFFFF)
  470. /* FTM module features */
  471. /* @brief Number of channels. */
  472. #define FSL_FEATURE_FTM_CHANNEL_COUNTn(x) \
  473. ((x) == FTM0 ? (8) : \
  474. ((x) == FTM1 ? (2) : \
  475. ((x) == FTM2 ? (2) : \
  476. ((x) == FTM3 ? (8) : (-1)))))
  477. /* @brief Has counter reset by the selected input capture event (register bits C0SC[ICRST], C1SC[ICRST], ...). */
  478. #define FSL_FEATURE_FTM_HAS_COUNTER_RESET_BY_CAPTURE_EVENT (1)
  479. /* @brief Has extended deadtime value. */
  480. #define FSL_FEATURE_FTM_HAS_EXTENDED_DEADTIME_VALUE (0)
  481. /* @brief Enable pwm output for the module. */
  482. #define FSL_FEATURE_FTM_HAS_ENABLE_PWM_OUTPUT (0)
  483. /* @brief Has half-cycle reload for the module. */
  484. #define FSL_FEATURE_FTM_HAS_HALFCYCLE_RELOAD (0)
  485. /* @brief Has reload interrupt. */
  486. #define FSL_FEATURE_FTM_HAS_RELOAD_INTERRUPT (0)
  487. /* @brief Has reload initialization trigger. */
  488. #define FSL_FEATURE_FTM_HAS_RELOAD_INITIALIZATION_TRIGGER (0)
  489. /* @brief Has DMA support, bitfield CnSC[DMA]. */
  490. #define FSL_FEATURE_FTM_HAS_DMA_SUPPORT (1)
  491. /* @brief Has no QDCTRL. */
  492. #define FSL_FEATURE_FTM_HAS_NO_QDCTRL (0)
  493. /* GPIO module features */
  494. /* @brief Has fast (single cycle) access capability via a dedicated memory region. */
  495. #define FSL_FEATURE_GPIO_HAS_FAST_GPIO (0)
  496. /* @brief Has port input disable register (PIDR). */
  497. #define FSL_FEATURE_GPIO_HAS_INPUT_DISABLE (0)
  498. /* @brief Has dedicated interrupt vector. */
  499. #define FSL_FEATURE_GPIO_HAS_PORT_INTERRUPT_VECTOR (1)
  500. /* I2C module features */
  501. /* @brief Has System Management Bus support (registers SMB, A2, SLTL and SLTH). */
  502. #define FSL_FEATURE_I2C_HAS_SMBUS (1)
  503. /* @brief Maximum supported baud rate in kilobit per second. */
  504. #define FSL_FEATURE_I2C_MAX_BAUD_KBPS (400)
  505. /* @brief Is affected by errata with ID 6070 (repeat start cannot be generated if the F[MULT] bit field is set to a non-zero value). */
  506. #define FSL_FEATURE_I2C_HAS_ERRATA_6070 (0)
  507. /* @brief Has DMA support (register bit C1[DMAEN]). */
  508. #define FSL_FEATURE_I2C_HAS_DMA_SUPPORT (1)
  509. /* @brief Has I2C bus start and stop detection (register bits FLT[SSIE], FLT[STARTF] and FLT[STOPF]). */
  510. #define FSL_FEATURE_I2C_HAS_START_STOP_DETECT (1)
  511. /* @brief Has I2C bus stop detection (register bits FLT[STOPIE] and FLT[STOPF]). */
  512. #define FSL_FEATURE_I2C_HAS_STOP_DETECT (0)
  513. /* @brief Has I2C bus stop hold off (register bit FLT[SHEN]). */
  514. #define FSL_FEATURE_I2C_HAS_STOP_HOLD_OFF (1)
  515. /* @brief Maximum width of the glitch filter in number of bus clocks. */
  516. #define FSL_FEATURE_I2C_MAX_GLITCH_FILTER_WIDTH (15)
  517. /* @brief Has control of the drive capability of the I2C pins. */
  518. #define FSL_FEATURE_I2C_HAS_HIGH_DRIVE_SELECTION (1)
  519. /* @brief Has double buffering support (register S2). */
  520. #define FSL_FEATURE_I2C_HAS_DOUBLE_BUFFERING (1)
  521. /* @brief Has double buffer enable. */
  522. #define FSL_FEATURE_I2C_HAS_DOUBLE_BUFFER_ENABLE (0)
  523. /* SAI module features */
  524. /* @brief Receive/transmit FIFO size in item count (register bit fields TCSR[FRDE], TCSR[FRIE], TCSR[FRF], TCR1[TFW], RCSR[FRDE], RCSR[FRIE], RCSR[FRF], RCR1[RFW], registers TFRn, RFRn). */
  525. #define FSL_FEATURE_SAI_FIFO_COUNT (8)
  526. /* @brief Receive/transmit channel number (register bit fields TCR3[TCE], RCR3[RCE], registers TDRn and RDRn). */
  527. #define FSL_FEATURE_SAI_CHANNEL_COUNT (2)
  528. /* @brief Maximum words per frame (register bit fields TCR3[WDFL], TCR4[FRSZ], TMR[TWM], RCR3[WDFL], RCR4[FRSZ], RMR[RWM]). */
  529. #define FSL_FEATURE_SAI_MAX_WORDS_PER_FRAME (32)
  530. /* @brief Has support of combining multiple data channel FIFOs into single channel FIFO (register bit fields TCR3[CFR], TCR4[FCOMB], TFR0[WCP], TFR1[WCP], RCR3[CFR], RCR4[FCOMB], RFR0[RCP], RFR1[RCP]). */
  531. #define FSL_FEATURE_SAI_HAS_FIFO_COMBINE_MODE (1)
  532. /* @brief Has packing of 8-bit and 16-bit data into each 32-bit FIFO word (register bit fields TCR4[FPACK], RCR4[FPACK]). */
  533. #define FSL_FEATURE_SAI_HAS_FIFO_PACKING (1)
  534. /* @brief Configures when the SAI will continue transmitting after a FIFO error has been detected (register bit fields TCR4[FCONT], RCR4[FCONT]). */
  535. #define FSL_FEATURE_SAI_HAS_FIFO_FUNCTION_AFTER_ERROR (1)
  536. /* @brief Configures if the frame sync is generated internally, a frame sync is only generated when the FIFO warning flag is clear or continuously (register bit fields TCR4[ONDEM], RCR4[ONDEM]). */
  537. #define FSL_FEATURE_SAI_HAS_ON_DEMAND_MODE (1)
  538. /* @brief Simplified bit clock source and asynchronous/synchronous mode selection (register bit fields TCR2[CLKMODE], RCR2[CLKMODE]), in comparison with the exclusively implemented TCR2[SYNC,BCS,BCI,MSEL], RCR2[SYNC,BCS,BCI,MSEL]. */
  539. #define FSL_FEATURE_SAI_HAS_CLOCKING_MODE (0)
  540. /* @brief Has register for configuration of the MCLK divide ratio (register bit fields MDR[FRACT], MDR[DIVIDE]). */
  541. #define FSL_FEATURE_SAI_HAS_MCLKDIV_REGISTER (1)
  542. /* @brief Ihe interrupt source number */
  543. #define FSL_FEATURE_SAI_INT_SOURCE_NUM (2)
  544. /* @brief Has register of MCR. */
  545. #define FSL_FEATURE_SAI_HAS_MCR (1)
  546. /* @brief Has register of MDR */
  547. #define FSL_FEATURE_SAI_HAS_MDR (1)
  548. /* LLWU module features */
  549. #if defined(CPU_MK82FN256CAx15) || defined(CPU_MK82FN256VDC15)
  550. /* @brief Maximum number of pins (maximal index plus one) connected to LLWU device. */
  551. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN (26)
  552. /* @brief Has pins 8-15 connected to LLWU device. */
  553. #define FSL_FEATURE_LLWU_EXTERNAL_PIN_GROUP2 (1)
  554. /* @brief Maximum number of internal modules connected to LLWU device. */
  555. #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE (8)
  556. /* @brief Number of digital filters. */
  557. #define FSL_FEATURE_LLWU_HAS_PIN_FILTER (4)
  558. /* @brief Has MF register. */
  559. #define FSL_FEATURE_LLWU_HAS_MF (1)
  560. /* @brief Has PF register. */
  561. #define FSL_FEATURE_LLWU_HAS_PF (1)
  562. /* @brief Has possibility to enable reset in low leakage power mode and enable digital filter for RESET pin (register LLWU_RST). */
  563. #define FSL_FEATURE_LLWU_HAS_RESET_ENABLE (0)
  564. /* @brief Has no internal module wakeup flag register. */
  565. #define FSL_FEATURE_LLWU_HAS_NO_INTERNAL_MODULE_WAKEUP_FLAG_REG (0)
  566. /* @brief Has external pin 0 connected to LLWU device. */
  567. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN0 (1)
  568. /* @brief Index of port of external pin. */
  569. #define FSL_FEATURE_LLWU_PIN0_GPIO_IDX (GPIOE_IDX)
  570. /* @brief Number of external pin port on specified port. */
  571. #define FSL_FEATURE_LLWU_PIN0_GPIO_PIN (1)
  572. /* @brief Has external pin 1 connected to LLWU device. */
  573. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN1 (1)
  574. /* @brief Index of port of external pin. */
  575. #define FSL_FEATURE_LLWU_PIN1_GPIO_IDX (GPIOE_IDX)
  576. /* @brief Number of external pin port on specified port. */
  577. #define FSL_FEATURE_LLWU_PIN1_GPIO_PIN (2)
  578. /* @brief Has external pin 2 connected to LLWU device. */
  579. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN2 (1)
  580. /* @brief Index of port of external pin. */
  581. #define FSL_FEATURE_LLWU_PIN2_GPIO_IDX (GPIOE_IDX)
  582. /* @brief Number of external pin port on specified port. */
  583. #define FSL_FEATURE_LLWU_PIN2_GPIO_PIN (4)
  584. /* @brief Has external pin 3 connected to LLWU device. */
  585. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN3 (1)
  586. /* @brief Index of port of external pin. */
  587. #define FSL_FEATURE_LLWU_PIN3_GPIO_IDX (GPIOA_IDX)
  588. /* @brief Number of external pin port on specified port. */
  589. #define FSL_FEATURE_LLWU_PIN3_GPIO_PIN (4)
  590. /* @brief Has external pin 4 connected to LLWU device. */
  591. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN4 (1)
  592. /* @brief Index of port of external pin. */
  593. #define FSL_FEATURE_LLWU_PIN4_GPIO_IDX (GPIOA_IDX)
  594. /* @brief Number of external pin port on specified port. */
  595. #define FSL_FEATURE_LLWU_PIN4_GPIO_PIN (13)
  596. /* @brief Has external pin 5 connected to LLWU device. */
  597. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN5 (1)
  598. /* @brief Index of port of external pin. */
  599. #define FSL_FEATURE_LLWU_PIN5_GPIO_IDX (GPIOB_IDX)
  600. /* @brief Number of external pin port on specified port. */
  601. #define FSL_FEATURE_LLWU_PIN5_GPIO_PIN (0)
  602. /* @brief Has external pin 6 connected to LLWU device. */
  603. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN6 (1)
  604. /* @brief Index of port of external pin. */
  605. #define FSL_FEATURE_LLWU_PIN6_GPIO_IDX (GPIOC_IDX)
  606. /* @brief Number of external pin port on specified port. */
  607. #define FSL_FEATURE_LLWU_PIN6_GPIO_PIN (1)
  608. /* @brief Has external pin 7 connected to LLWU device. */
  609. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN7 (1)
  610. /* @brief Index of port of external pin. */
  611. #define FSL_FEATURE_LLWU_PIN7_GPIO_IDX (GPIOC_IDX)
  612. /* @brief Number of external pin port on specified port. */
  613. #define FSL_FEATURE_LLWU_PIN7_GPIO_PIN (3)
  614. /* @brief Has external pin 8 connected to LLWU device. */
  615. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN8 (1)
  616. /* @brief Index of port of external pin. */
  617. #define FSL_FEATURE_LLWU_PIN8_GPIO_IDX (GPIOC_IDX)
  618. /* @brief Number of external pin port on specified port. */
  619. #define FSL_FEATURE_LLWU_PIN8_GPIO_PIN (4)
  620. /* @brief Has external pin 9 connected to LLWU device. */
  621. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN9 (1)
  622. /* @brief Index of port of external pin. */
  623. #define FSL_FEATURE_LLWU_PIN9_GPIO_IDX (GPIOC_IDX)
  624. /* @brief Number of external pin port on specified port. */
  625. #define FSL_FEATURE_LLWU_PIN9_GPIO_PIN (5)
  626. /* @brief Has external pin 10 connected to LLWU device. */
  627. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN10 (1)
  628. /* @brief Index of port of external pin. */
  629. #define FSL_FEATURE_LLWU_PIN10_GPIO_IDX (GPIOC_IDX)
  630. /* @brief Number of external pin port on specified port. */
  631. #define FSL_FEATURE_LLWU_PIN10_GPIO_PIN (6)
  632. /* @brief Has external pin 11 connected to LLWU device. */
  633. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN11 (1)
  634. /* @brief Index of port of external pin. */
  635. #define FSL_FEATURE_LLWU_PIN11_GPIO_IDX (GPIOC_IDX)
  636. /* @brief Number of external pin port on specified port. */
  637. #define FSL_FEATURE_LLWU_PIN11_GPIO_PIN (11)
  638. /* @brief Has external pin 12 connected to LLWU device. */
  639. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN12 (1)
  640. /* @brief Index of port of external pin. */
  641. #define FSL_FEATURE_LLWU_PIN12_GPIO_IDX (GPIOD_IDX)
  642. /* @brief Number of external pin port on specified port. */
  643. #define FSL_FEATURE_LLWU_PIN12_GPIO_PIN (0)
  644. /* @brief Has external pin 13 connected to LLWU device. */
  645. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN13 (1)
  646. /* @brief Index of port of external pin. */
  647. #define FSL_FEATURE_LLWU_PIN13_GPIO_IDX (GPIOD_IDX)
  648. /* @brief Number of external pin port on specified port. */
  649. #define FSL_FEATURE_LLWU_PIN13_GPIO_PIN (2)
  650. /* @brief Has external pin 14 connected to LLWU device. */
  651. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN14 (1)
  652. /* @brief Index of port of external pin. */
  653. #define FSL_FEATURE_LLWU_PIN14_GPIO_IDX (GPIOD_IDX)
  654. /* @brief Number of external pin port on specified port. */
  655. #define FSL_FEATURE_LLWU_PIN14_GPIO_PIN (4)
  656. /* @brief Has external pin 15 connected to LLWU device. */
  657. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN15 (1)
  658. /* @brief Index of port of external pin. */
  659. #define FSL_FEATURE_LLWU_PIN15_GPIO_IDX (GPIOD_IDX)
  660. /* @brief Number of external pin port on specified port. */
  661. #define FSL_FEATURE_LLWU_PIN15_GPIO_PIN (6)
  662. /* @brief Has external pin 16 connected to LLWU device. */
  663. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN16 (1)
  664. /* @brief Index of port of external pin. */
  665. #define FSL_FEATURE_LLWU_PIN16_GPIO_IDX (GPIOE_IDX)
  666. /* @brief Number of external pin port on specified port. */
  667. #define FSL_FEATURE_LLWU_PIN16_GPIO_PIN (6)
  668. /* @brief Has external pin 17 connected to LLWU device. */
  669. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN17 (1)
  670. /* @brief Index of port of external pin. */
  671. #define FSL_FEATURE_LLWU_PIN17_GPIO_IDX (GPIOE_IDX)
  672. /* @brief Number of external pin port on specified port. */
  673. #define FSL_FEATURE_LLWU_PIN17_GPIO_PIN (9)
  674. /* @brief Has external pin 18 connected to LLWU device. */
  675. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN18 (1)
  676. /* @brief Index of port of external pin. */
  677. #define FSL_FEATURE_LLWU_PIN18_GPIO_IDX (GPIOE_IDX)
  678. /* @brief Number of external pin port on specified port. */
  679. #define FSL_FEATURE_LLWU_PIN18_GPIO_PIN (10)
  680. /* @brief Has external pin 19 connected to LLWU device. */
  681. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN19 (0)
  682. /* @brief Index of port of external pin. */
  683. #define FSL_FEATURE_LLWU_PIN19_GPIO_IDX (0)
  684. /* @brief Number of external pin port on specified port. */
  685. #define FSL_FEATURE_LLWU_PIN19_GPIO_PIN (0)
  686. /* @brief Has external pin 20 connected to LLWU device. */
  687. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN20 (0)
  688. /* @brief Index of port of external pin. */
  689. #define FSL_FEATURE_LLWU_PIN20_GPIO_IDX (0)
  690. /* @brief Number of external pin port on specified port. */
  691. #define FSL_FEATURE_LLWU_PIN20_GPIO_PIN (0)
  692. /* @brief Has external pin 21 connected to LLWU device. */
  693. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN21 (1)
  694. /* @brief Index of port of external pin. */
  695. #define FSL_FEATURE_LLWU_PIN21_GPIO_IDX (GPIOA_IDX)
  696. /* @brief Number of external pin port on specified port. */
  697. #define FSL_FEATURE_LLWU_PIN21_GPIO_PIN (21)
  698. /* @brief Has external pin 22 connected to LLWU device. */
  699. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN22 (1)
  700. /* @brief Index of port of external pin. */
  701. #define FSL_FEATURE_LLWU_PIN22_GPIO_IDX (GPIOA_IDX)
  702. /* @brief Number of external pin port on specified port. */
  703. #define FSL_FEATURE_LLWU_PIN22_GPIO_PIN (10)
  704. /* @brief Has external pin 23 connected to LLWU device. */
  705. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN23 (1)
  706. /* @brief Index of port of external pin. */
  707. #define FSL_FEATURE_LLWU_PIN23_GPIO_IDX (GPIOA_IDX)
  708. /* @brief Number of external pin port on specified port. */
  709. #define FSL_FEATURE_LLWU_PIN23_GPIO_PIN (11)
  710. /* @brief Has external pin 24 connected to LLWU device. */
  711. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN24 (1)
  712. /* @brief Index of port of external pin. */
  713. #define FSL_FEATURE_LLWU_PIN24_GPIO_IDX (GPIOD_IDX)
  714. /* @brief Number of external pin port on specified port. */
  715. #define FSL_FEATURE_LLWU_PIN24_GPIO_PIN (8)
  716. /* @brief Has external pin 25 connected to LLWU device. */
  717. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN25 (1)
  718. /* @brief Index of port of external pin. */
  719. #define FSL_FEATURE_LLWU_PIN25_GPIO_IDX (GPIOD_IDX)
  720. /* @brief Number of external pin port on specified port. */
  721. #define FSL_FEATURE_LLWU_PIN25_GPIO_PIN (11)
  722. /* @brief Has external pin 26 connected to LLWU device. */
  723. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN26 (0)
  724. /* @brief Index of port of external pin. */
  725. #define FSL_FEATURE_LLWU_PIN26_GPIO_IDX (0)
  726. /* @brief Number of external pin port on specified port. */
  727. #define FSL_FEATURE_LLWU_PIN26_GPIO_PIN (0)
  728. /* @brief Has external pin 27 connected to LLWU device. */
  729. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN27 (0)
  730. /* @brief Index of port of external pin. */
  731. #define FSL_FEATURE_LLWU_PIN27_GPIO_IDX (0)
  732. /* @brief Number of external pin port on specified port. */
  733. #define FSL_FEATURE_LLWU_PIN27_GPIO_PIN (0)
  734. /* @brief Has external pin 28 connected to LLWU device. */
  735. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN28 (0)
  736. /* @brief Index of port of external pin. */
  737. #define FSL_FEATURE_LLWU_PIN28_GPIO_IDX (0)
  738. /* @brief Number of external pin port on specified port. */
  739. #define FSL_FEATURE_LLWU_PIN28_GPIO_PIN (0)
  740. /* @brief Has external pin 29 connected to LLWU device. */
  741. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN29 (0)
  742. /* @brief Index of port of external pin. */
  743. #define FSL_FEATURE_LLWU_PIN29_GPIO_IDX (0)
  744. /* @brief Number of external pin port on specified port. */
  745. #define FSL_FEATURE_LLWU_PIN29_GPIO_PIN (0)
  746. /* @brief Has external pin 30 connected to LLWU device. */
  747. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN30 (0)
  748. /* @brief Index of port of external pin. */
  749. #define FSL_FEATURE_LLWU_PIN30_GPIO_IDX (0)
  750. /* @brief Number of external pin port on specified port. */
  751. #define FSL_FEATURE_LLWU_PIN30_GPIO_PIN (0)
  752. /* @brief Has external pin 31 connected to LLWU device. */
  753. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN31 (0)
  754. /* @brief Index of port of external pin. */
  755. #define FSL_FEATURE_LLWU_PIN31_GPIO_IDX (0)
  756. /* @brief Number of external pin port on specified port. */
  757. #define FSL_FEATURE_LLWU_PIN31_GPIO_PIN (0)
  758. /* @brief Has internal module 0 connected to LLWU device. */
  759. #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE0 (1)
  760. /* @brief Has internal module 1 connected to LLWU device. */
  761. #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE1 (1)
  762. /* @brief Has internal module 2 connected to LLWU device. */
  763. #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE2 (1)
  764. /* @brief Has internal module 3 connected to LLWU device. */
  765. #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE3 (0)
  766. /* @brief Has internal module 4 connected to LLWU device. */
  767. #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE4 (1)
  768. /* @brief Has internal module 5 connected to LLWU device. */
  769. #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE5 (1)
  770. /* @brief Has internal module 6 connected to LLWU device. */
  771. #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE6 (0)
  772. /* @brief Has internal module 7 connected to LLWU device. */
  773. #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE7 (1)
  774. /* @brief Has Version ID Register (LLWU_VERID). */
  775. #define FSL_FEATURE_LLWU_HAS_VERID (0)
  776. /* @brief Has Parameter Register (LLWU_PARAM). */
  777. #define FSL_FEATURE_LLWU_HAS_PARAM (0)
  778. /* @brief Width of registers of the LLWU. */
  779. #define FSL_FEATURE_LLWU_REG_BITWIDTH (8)
  780. /* @brief Has DMA Enable register (LLWU_DE). */
  781. #define FSL_FEATURE_LLWU_HAS_DMA_ENABLE_REG (0)
  782. #elif defined(CPU_MK82FN256VLL15)
  783. /* @brief Maximum number of pins (maximal index plus one) connected to LLWU device. */
  784. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN (19)
  785. /* @brief Has pins 8-15 connected to LLWU device. */
  786. #define FSL_FEATURE_LLWU_EXTERNAL_PIN_GROUP2 (1)
  787. /* @brief Maximum number of internal modules connected to LLWU device. */
  788. #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE (8)
  789. /* @brief Number of digital filters. */
  790. #define FSL_FEATURE_LLWU_HAS_PIN_FILTER (4)
  791. /* @brief Has MF register. */
  792. #define FSL_FEATURE_LLWU_HAS_MF (1)
  793. /* @brief Has PF register. */
  794. #define FSL_FEATURE_LLWU_HAS_PF (1)
  795. /* @brief Has possibility to enable reset in low leakage power mode and enable digital filter for RESET pin (register LLWU_RST). */
  796. #define FSL_FEATURE_LLWU_HAS_RESET_ENABLE (0)
  797. /* @brief Has no internal module wakeup flag register. */
  798. #define FSL_FEATURE_LLWU_HAS_NO_INTERNAL_MODULE_WAKEUP_FLAG_REG (0)
  799. /* @brief Has external pin 0 connected to LLWU device. */
  800. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN0 (1)
  801. /* @brief Index of port of external pin. */
  802. #define FSL_FEATURE_LLWU_PIN0_GPIO_IDX (GPIOE_IDX)
  803. /* @brief Number of external pin port on specified port. */
  804. #define FSL_FEATURE_LLWU_PIN0_GPIO_PIN (1)
  805. /* @brief Has external pin 1 connected to LLWU device. */
  806. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN1 (1)
  807. /* @brief Index of port of external pin. */
  808. #define FSL_FEATURE_LLWU_PIN1_GPIO_IDX (GPIOE_IDX)
  809. /* @brief Number of external pin port on specified port. */
  810. #define FSL_FEATURE_LLWU_PIN1_GPIO_PIN (2)
  811. /* @brief Has external pin 2 connected to LLWU device. */
  812. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN2 (1)
  813. /* @brief Index of port of external pin. */
  814. #define FSL_FEATURE_LLWU_PIN2_GPIO_IDX (GPIOE_IDX)
  815. /* @brief Number of external pin port on specified port. */
  816. #define FSL_FEATURE_LLWU_PIN2_GPIO_PIN (4)
  817. /* @brief Has external pin 3 connected to LLWU device. */
  818. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN3 (1)
  819. /* @brief Index of port of external pin. */
  820. #define FSL_FEATURE_LLWU_PIN3_GPIO_IDX (GPIOA_IDX)
  821. /* @brief Number of external pin port on specified port. */
  822. #define FSL_FEATURE_LLWU_PIN3_GPIO_PIN (4)
  823. /* @brief Has external pin 4 connected to LLWU device. */
  824. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN4 (1)
  825. /* @brief Index of port of external pin. */
  826. #define FSL_FEATURE_LLWU_PIN4_GPIO_IDX (GPIOA_IDX)
  827. /* @brief Number of external pin port on specified port. */
  828. #define FSL_FEATURE_LLWU_PIN4_GPIO_PIN (13)
  829. /* @brief Has external pin 5 connected to LLWU device. */
  830. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN5 (1)
  831. /* @brief Index of port of external pin. */
  832. #define FSL_FEATURE_LLWU_PIN5_GPIO_IDX (GPIOB_IDX)
  833. /* @brief Number of external pin port on specified port. */
  834. #define FSL_FEATURE_LLWU_PIN5_GPIO_PIN (0)
  835. /* @brief Has external pin 6 connected to LLWU device. */
  836. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN6 (1)
  837. /* @brief Index of port of external pin. */
  838. #define FSL_FEATURE_LLWU_PIN6_GPIO_IDX (GPIOC_IDX)
  839. /* @brief Number of external pin port on specified port. */
  840. #define FSL_FEATURE_LLWU_PIN6_GPIO_PIN (1)
  841. /* @brief Has external pin 7 connected to LLWU device. */
  842. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN7 (1)
  843. /* @brief Index of port of external pin. */
  844. #define FSL_FEATURE_LLWU_PIN7_GPIO_IDX (GPIOC_IDX)
  845. /* @brief Number of external pin port on specified port. */
  846. #define FSL_FEATURE_LLWU_PIN7_GPIO_PIN (3)
  847. /* @brief Has external pin 8 connected to LLWU device. */
  848. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN8 (1)
  849. /* @brief Index of port of external pin. */
  850. #define FSL_FEATURE_LLWU_PIN8_GPIO_IDX (GPIOC_IDX)
  851. /* @brief Number of external pin port on specified port. */
  852. #define FSL_FEATURE_LLWU_PIN8_GPIO_PIN (4)
  853. /* @brief Has external pin 9 connected to LLWU device. */
  854. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN9 (1)
  855. /* @brief Index of port of external pin. */
  856. #define FSL_FEATURE_LLWU_PIN9_GPIO_IDX (GPIOC_IDX)
  857. /* @brief Number of external pin port on specified port. */
  858. #define FSL_FEATURE_LLWU_PIN9_GPIO_PIN (5)
  859. /* @brief Has external pin 10 connected to LLWU device. */
  860. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN10 (1)
  861. /* @brief Index of port of external pin. */
  862. #define FSL_FEATURE_LLWU_PIN10_GPIO_IDX (GPIOC_IDX)
  863. /* @brief Number of external pin port on specified port. */
  864. #define FSL_FEATURE_LLWU_PIN10_GPIO_PIN (6)
  865. /* @brief Has external pin 11 connected to LLWU device. */
  866. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN11 (1)
  867. /* @brief Index of port of external pin. */
  868. #define FSL_FEATURE_LLWU_PIN11_GPIO_IDX (GPIOC_IDX)
  869. /* @brief Number of external pin port on specified port. */
  870. #define FSL_FEATURE_LLWU_PIN11_GPIO_PIN (11)
  871. /* @brief Has external pin 12 connected to LLWU device. */
  872. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN12 (1)
  873. /* @brief Index of port of external pin. */
  874. #define FSL_FEATURE_LLWU_PIN12_GPIO_IDX (GPIOD_IDX)
  875. /* @brief Number of external pin port on specified port. */
  876. #define FSL_FEATURE_LLWU_PIN12_GPIO_PIN (0)
  877. /* @brief Has external pin 13 connected to LLWU device. */
  878. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN13 (1)
  879. /* @brief Index of port of external pin. */
  880. #define FSL_FEATURE_LLWU_PIN13_GPIO_IDX (GPIOD_IDX)
  881. /* @brief Number of external pin port on specified port. */
  882. #define FSL_FEATURE_LLWU_PIN13_GPIO_PIN (2)
  883. /* @brief Has external pin 14 connected to LLWU device. */
  884. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN14 (1)
  885. /* @brief Index of port of external pin. */
  886. #define FSL_FEATURE_LLWU_PIN14_GPIO_IDX (GPIOD_IDX)
  887. /* @brief Number of external pin port on specified port. */
  888. #define FSL_FEATURE_LLWU_PIN14_GPIO_PIN (4)
  889. /* @brief Has external pin 15 connected to LLWU device. */
  890. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN15 (1)
  891. /* @brief Index of port of external pin. */
  892. #define FSL_FEATURE_LLWU_PIN15_GPIO_IDX (GPIOD_IDX)
  893. /* @brief Number of external pin port on specified port. */
  894. #define FSL_FEATURE_LLWU_PIN15_GPIO_PIN (6)
  895. /* @brief Has external pin 16 connected to LLWU device. */
  896. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN16 (1)
  897. /* @brief Index of port of external pin. */
  898. #define FSL_FEATURE_LLWU_PIN16_GPIO_IDX (GPIOE_IDX)
  899. /* @brief Number of external pin port on specified port. */
  900. #define FSL_FEATURE_LLWU_PIN16_GPIO_PIN (6)
  901. /* @brief Has external pin 17 connected to LLWU device. */
  902. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN17 (1)
  903. /* @brief Index of port of external pin. */
  904. #define FSL_FEATURE_LLWU_PIN17_GPIO_IDX (GPIOE_IDX)
  905. /* @brief Number of external pin port on specified port. */
  906. #define FSL_FEATURE_LLWU_PIN17_GPIO_PIN (9)
  907. /* @brief Has external pin 18 connected to LLWU device. */
  908. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN18 (1)
  909. /* @brief Index of port of external pin. */
  910. #define FSL_FEATURE_LLWU_PIN18_GPIO_IDX (GPIOE_IDX)
  911. /* @brief Number of external pin port on specified port. */
  912. #define FSL_FEATURE_LLWU_PIN18_GPIO_PIN (10)
  913. /* @brief Has external pin 19 connected to LLWU device. */
  914. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN19 (0)
  915. /* @brief Index of port of external pin. */
  916. #define FSL_FEATURE_LLWU_PIN19_GPIO_IDX (0)
  917. /* @brief Number of external pin port on specified port. */
  918. #define FSL_FEATURE_LLWU_PIN19_GPIO_PIN (0)
  919. /* @brief Has external pin 20 connected to LLWU device. */
  920. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN20 (0)
  921. /* @brief Index of port of external pin. */
  922. #define FSL_FEATURE_LLWU_PIN20_GPIO_IDX (0)
  923. /* @brief Number of external pin port on specified port. */
  924. #define FSL_FEATURE_LLWU_PIN20_GPIO_PIN (0)
  925. /* @brief Has external pin 21 connected to LLWU device. */
  926. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN21 (0)
  927. /* @brief Index of port of external pin. */
  928. #define FSL_FEATURE_LLWU_PIN21_GPIO_IDX (0)
  929. /* @brief Number of external pin port on specified port. */
  930. #define FSL_FEATURE_LLWU_PIN21_GPIO_PIN (0)
  931. /* @brief Has external pin 22 connected to LLWU device. */
  932. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN22 (0)
  933. /* @brief Index of port of external pin. */
  934. #define FSL_FEATURE_LLWU_PIN22_GPIO_IDX (0)
  935. /* @brief Number of external pin port on specified port. */
  936. #define FSL_FEATURE_LLWU_PIN22_GPIO_PIN (0)
  937. /* @brief Has external pin 23 connected to LLWU device. */
  938. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN23 (0)
  939. /* @brief Index of port of external pin. */
  940. #define FSL_FEATURE_LLWU_PIN23_GPIO_IDX (0)
  941. /* @brief Number of external pin port on specified port. */
  942. #define FSL_FEATURE_LLWU_PIN23_GPIO_PIN (0)
  943. /* @brief Has external pin 24 connected to LLWU device. */
  944. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN24 (0)
  945. /* @brief Index of port of external pin. */
  946. #define FSL_FEATURE_LLWU_PIN24_GPIO_IDX (0)
  947. /* @brief Number of external pin port on specified port. */
  948. #define FSL_FEATURE_LLWU_PIN24_GPIO_PIN (0)
  949. /* @brief Has external pin 25 connected to LLWU device. */
  950. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN25 (0)
  951. /* @brief Index of port of external pin. */
  952. #define FSL_FEATURE_LLWU_PIN25_GPIO_IDX (0)
  953. /* @brief Number of external pin port on specified port. */
  954. #define FSL_FEATURE_LLWU_PIN25_GPIO_PIN (0)
  955. /* @brief Has external pin 26 connected to LLWU device. */
  956. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN26 (0)
  957. /* @brief Index of port of external pin. */
  958. #define FSL_FEATURE_LLWU_PIN26_GPIO_IDX (0)
  959. /* @brief Number of external pin port on specified port. */
  960. #define FSL_FEATURE_LLWU_PIN26_GPIO_PIN (0)
  961. /* @brief Has external pin 27 connected to LLWU device. */
  962. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN27 (0)
  963. /* @brief Index of port of external pin. */
  964. #define FSL_FEATURE_LLWU_PIN27_GPIO_IDX (0)
  965. /* @brief Number of external pin port on specified port. */
  966. #define FSL_FEATURE_LLWU_PIN27_GPIO_PIN (0)
  967. /* @brief Has external pin 28 connected to LLWU device. */
  968. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN28 (0)
  969. /* @brief Index of port of external pin. */
  970. #define FSL_FEATURE_LLWU_PIN28_GPIO_IDX (0)
  971. /* @brief Number of external pin port on specified port. */
  972. #define FSL_FEATURE_LLWU_PIN28_GPIO_PIN (0)
  973. /* @brief Has external pin 29 connected to LLWU device. */
  974. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN29 (0)
  975. /* @brief Index of port of external pin. */
  976. #define FSL_FEATURE_LLWU_PIN29_GPIO_IDX (0)
  977. /* @brief Number of external pin port on specified port. */
  978. #define FSL_FEATURE_LLWU_PIN29_GPIO_PIN (0)
  979. /* @brief Has external pin 30 connected to LLWU device. */
  980. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN30 (0)
  981. /* @brief Index of port of external pin. */
  982. #define FSL_FEATURE_LLWU_PIN30_GPIO_IDX (0)
  983. /* @brief Number of external pin port on specified port. */
  984. #define FSL_FEATURE_LLWU_PIN30_GPIO_PIN (0)
  985. /* @brief Has external pin 31 connected to LLWU device. */
  986. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN31 (0)
  987. /* @brief Index of port of external pin. */
  988. #define FSL_FEATURE_LLWU_PIN31_GPIO_IDX (0)
  989. /* @brief Number of external pin port on specified port. */
  990. #define FSL_FEATURE_LLWU_PIN31_GPIO_PIN (0)
  991. /* @brief Has internal module 0 connected to LLWU device. */
  992. #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE0 (1)
  993. /* @brief Has internal module 1 connected to LLWU device. */
  994. #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE1 (1)
  995. /* @brief Has internal module 2 connected to LLWU device. */
  996. #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE2 (1)
  997. /* @brief Has internal module 3 connected to LLWU device. */
  998. #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE3 (0)
  999. /* @brief Has internal module 4 connected to LLWU device. */
  1000. #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE4 (1)
  1001. /* @brief Has internal module 5 connected to LLWU device. */
  1002. #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE5 (1)
  1003. /* @brief Has internal module 6 connected to LLWU device. */
  1004. #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE6 (0)
  1005. /* @brief Has internal module 7 connected to LLWU device. */
  1006. #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE7 (1)
  1007. /* @brief Has Version ID Register (LLWU_VERID). */
  1008. #define FSL_FEATURE_LLWU_HAS_VERID (0)
  1009. /* @brief Has Parameter Register (LLWU_PARAM). */
  1010. #define FSL_FEATURE_LLWU_HAS_PARAM (0)
  1011. /* @brief Width of registers of the LLWU. */
  1012. #define FSL_FEATURE_LLWU_REG_BITWIDTH (8)
  1013. /* @brief Has DMA Enable register (LLWU_DE). */
  1014. #define FSL_FEATURE_LLWU_HAS_DMA_ENABLE_REG (0)
  1015. #elif defined(CPU_MK82FN256VLQ15)
  1016. /* @brief Maximum number of pins (maximal index plus one) connected to LLWU device. */
  1017. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN (26)
  1018. /* @brief Has pins 8-15 connected to LLWU device. */
  1019. #define FSL_FEATURE_LLWU_EXTERNAL_PIN_GROUP2 (1)
  1020. /* @brief Maximum number of internal modules connected to LLWU device. */
  1021. #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE (8)
  1022. /* @brief Number of digital filters. */
  1023. #define FSL_FEATURE_LLWU_HAS_PIN_FILTER (4)
  1024. /* @brief Has MF register. */
  1025. #define FSL_FEATURE_LLWU_HAS_MF (1)
  1026. /* @brief Has PF register. */
  1027. #define FSL_FEATURE_LLWU_HAS_PF (1)
  1028. /* @brief Has possibility to enable reset in low leakage power mode and enable digital filter for RESET pin (register LLWU_RST). */
  1029. #define FSL_FEATURE_LLWU_HAS_RESET_ENABLE (0)
  1030. /* @brief Has no internal module wakeup flag register. */
  1031. #define FSL_FEATURE_LLWU_HAS_NO_INTERNAL_MODULE_WAKEUP_FLAG_REG (0)
  1032. /* @brief Has external pin 0 connected to LLWU device. */
  1033. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN0 (1)
  1034. /* @brief Index of port of external pin. */
  1035. #define FSL_FEATURE_LLWU_PIN0_GPIO_IDX (GPIOE_IDX)
  1036. /* @brief Number of external pin port on specified port. */
  1037. #define FSL_FEATURE_LLWU_PIN0_GPIO_PIN (1)
  1038. /* @brief Has external pin 1 connected to LLWU device. */
  1039. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN1 (1)
  1040. /* @brief Index of port of external pin. */
  1041. #define FSL_FEATURE_LLWU_PIN1_GPIO_IDX (GPIOE_IDX)
  1042. /* @brief Number of external pin port on specified port. */
  1043. #define FSL_FEATURE_LLWU_PIN1_GPIO_PIN (2)
  1044. /* @brief Has external pin 2 connected to LLWU device. */
  1045. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN2 (1)
  1046. /* @brief Index of port of external pin. */
  1047. #define FSL_FEATURE_LLWU_PIN2_GPIO_IDX (GPIOE_IDX)
  1048. /* @brief Number of external pin port on specified port. */
  1049. #define FSL_FEATURE_LLWU_PIN2_GPIO_PIN (4)
  1050. /* @brief Has external pin 3 connected to LLWU device. */
  1051. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN3 (1)
  1052. /* @brief Index of port of external pin. */
  1053. #define FSL_FEATURE_LLWU_PIN3_GPIO_IDX (GPIOA_IDX)
  1054. /* @brief Number of external pin port on specified port. */
  1055. #define FSL_FEATURE_LLWU_PIN3_GPIO_PIN (4)
  1056. /* @brief Has external pin 4 connected to LLWU device. */
  1057. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN4 (1)
  1058. /* @brief Index of port of external pin. */
  1059. #define FSL_FEATURE_LLWU_PIN4_GPIO_IDX (GPIOA_IDX)
  1060. /* @brief Number of external pin port on specified port. */
  1061. #define FSL_FEATURE_LLWU_PIN4_GPIO_PIN (13)
  1062. /* @brief Has external pin 5 connected to LLWU device. */
  1063. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN5 (1)
  1064. /* @brief Index of port of external pin. */
  1065. #define FSL_FEATURE_LLWU_PIN5_GPIO_IDX (GPIOB_IDX)
  1066. /* @brief Number of external pin port on specified port. */
  1067. #define FSL_FEATURE_LLWU_PIN5_GPIO_PIN (0)
  1068. /* @brief Has external pin 6 connected to LLWU device. */
  1069. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN6 (1)
  1070. /* @brief Index of port of external pin. */
  1071. #define FSL_FEATURE_LLWU_PIN6_GPIO_IDX (GPIOC_IDX)
  1072. /* @brief Number of external pin port on specified port. */
  1073. #define FSL_FEATURE_LLWU_PIN6_GPIO_PIN (1)
  1074. /* @brief Has external pin 7 connected to LLWU device. */
  1075. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN7 (1)
  1076. /* @brief Index of port of external pin. */
  1077. #define FSL_FEATURE_LLWU_PIN7_GPIO_IDX (GPIOC_IDX)
  1078. /* @brief Number of external pin port on specified port. */
  1079. #define FSL_FEATURE_LLWU_PIN7_GPIO_PIN (3)
  1080. /* @brief Has external pin 8 connected to LLWU device. */
  1081. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN8 (1)
  1082. /* @brief Index of port of external pin. */
  1083. #define FSL_FEATURE_LLWU_PIN8_GPIO_IDX (GPIOC_IDX)
  1084. /* @brief Number of external pin port on specified port. */
  1085. #define FSL_FEATURE_LLWU_PIN8_GPIO_PIN (4)
  1086. /* @brief Has external pin 9 connected to LLWU device. */
  1087. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN9 (1)
  1088. /* @brief Index of port of external pin. */
  1089. #define FSL_FEATURE_LLWU_PIN9_GPIO_IDX (GPIOC_IDX)
  1090. /* @brief Number of external pin port on specified port. */
  1091. #define FSL_FEATURE_LLWU_PIN9_GPIO_PIN (5)
  1092. /* @brief Has external pin 10 connected to LLWU device. */
  1093. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN10 (1)
  1094. /* @brief Index of port of external pin. */
  1095. #define FSL_FEATURE_LLWU_PIN10_GPIO_IDX (GPIOC_IDX)
  1096. /* @brief Number of external pin port on specified port. */
  1097. #define FSL_FEATURE_LLWU_PIN10_GPIO_PIN (6)
  1098. /* @brief Has external pin 11 connected to LLWU device. */
  1099. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN11 (1)
  1100. /* @brief Index of port of external pin. */
  1101. #define FSL_FEATURE_LLWU_PIN11_GPIO_IDX (GPIOC_IDX)
  1102. /* @brief Number of external pin port on specified port. */
  1103. #define FSL_FEATURE_LLWU_PIN11_GPIO_PIN (11)
  1104. /* @brief Has external pin 12 connected to LLWU device. */
  1105. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN12 (1)
  1106. /* @brief Index of port of external pin. */
  1107. #define FSL_FEATURE_LLWU_PIN12_GPIO_IDX (GPIOD_IDX)
  1108. /* @brief Number of external pin port on specified port. */
  1109. #define FSL_FEATURE_LLWU_PIN12_GPIO_PIN (0)
  1110. /* @brief Has external pin 13 connected to LLWU device. */
  1111. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN13 (1)
  1112. /* @brief Index of port of external pin. */
  1113. #define FSL_FEATURE_LLWU_PIN13_GPIO_IDX (GPIOD_IDX)
  1114. /* @brief Number of external pin port on specified port. */
  1115. #define FSL_FEATURE_LLWU_PIN13_GPIO_PIN (2)
  1116. /* @brief Has external pin 14 connected to LLWU device. */
  1117. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN14 (1)
  1118. /* @brief Index of port of external pin. */
  1119. #define FSL_FEATURE_LLWU_PIN14_GPIO_IDX (GPIOD_IDX)
  1120. /* @brief Number of external pin port on specified port. */
  1121. #define FSL_FEATURE_LLWU_PIN14_GPIO_PIN (4)
  1122. /* @brief Has external pin 15 connected to LLWU device. */
  1123. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN15 (1)
  1124. /* @brief Index of port of external pin. */
  1125. #define FSL_FEATURE_LLWU_PIN15_GPIO_IDX (GPIOD_IDX)
  1126. /* @brief Number of external pin port on specified port. */
  1127. #define FSL_FEATURE_LLWU_PIN15_GPIO_PIN (6)
  1128. /* @brief Has external pin 16 connected to LLWU device. */
  1129. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN16 (1)
  1130. /* @brief Index of port of external pin. */
  1131. #define FSL_FEATURE_LLWU_PIN16_GPIO_IDX (GPIOE_IDX)
  1132. /* @brief Number of external pin port on specified port. */
  1133. #define FSL_FEATURE_LLWU_PIN16_GPIO_PIN (6)
  1134. /* @brief Has external pin 17 connected to LLWU device. */
  1135. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN17 (1)
  1136. /* @brief Index of port of external pin. */
  1137. #define FSL_FEATURE_LLWU_PIN17_GPIO_IDX (GPIOE_IDX)
  1138. /* @brief Number of external pin port on specified port. */
  1139. #define FSL_FEATURE_LLWU_PIN17_GPIO_PIN (9)
  1140. /* @brief Has external pin 18 connected to LLWU device. */
  1141. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN18 (1)
  1142. /* @brief Index of port of external pin. */
  1143. #define FSL_FEATURE_LLWU_PIN18_GPIO_IDX (GPIOE_IDX)
  1144. /* @brief Number of external pin port on specified port. */
  1145. #define FSL_FEATURE_LLWU_PIN18_GPIO_PIN (10)
  1146. /* @brief Has external pin 19 connected to LLWU device. */
  1147. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN19 (1)
  1148. /* @brief Index of port of external pin. */
  1149. #define FSL_FEATURE_LLWU_PIN19_GPIO_IDX (GPIOE_IDX)
  1150. /* @brief Number of external pin port on specified port. */
  1151. #define FSL_FEATURE_LLWU_PIN19_GPIO_PIN (17)
  1152. /* @brief Has external pin 20 connected to LLWU device. */
  1153. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN20 (1)
  1154. /* @brief Index of port of external pin. */
  1155. #define FSL_FEATURE_LLWU_PIN20_GPIO_IDX (GPIOE_IDX)
  1156. /* @brief Number of external pin port on specified port. */
  1157. #define FSL_FEATURE_LLWU_PIN20_GPIO_PIN (18)
  1158. /* @brief Has external pin 21 connected to LLWU device. */
  1159. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN21 (1)
  1160. /* @brief Index of port of external pin. */
  1161. #define FSL_FEATURE_LLWU_PIN21_GPIO_IDX (GPIOA_IDX)
  1162. /* @brief Number of external pin port on specified port. */
  1163. #define FSL_FEATURE_LLWU_PIN21_GPIO_PIN (21)
  1164. /* @brief Has external pin 22 connected to LLWU device. */
  1165. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN22 (1)
  1166. /* @brief Index of port of external pin. */
  1167. #define FSL_FEATURE_LLWU_PIN22_GPIO_IDX (GPIOA_IDX)
  1168. /* @brief Number of external pin port on specified port. */
  1169. #define FSL_FEATURE_LLWU_PIN22_GPIO_PIN (10)
  1170. /* @brief Has external pin 23 connected to LLWU device. */
  1171. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN23 (1)
  1172. /* @brief Index of port of external pin. */
  1173. #define FSL_FEATURE_LLWU_PIN23_GPIO_IDX (GPIOA_IDX)
  1174. /* @brief Number of external pin port on specified port. */
  1175. #define FSL_FEATURE_LLWU_PIN23_GPIO_PIN (11)
  1176. /* @brief Has external pin 24 connected to LLWU device. */
  1177. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN24 (1)
  1178. /* @brief Index of port of external pin. */
  1179. #define FSL_FEATURE_LLWU_PIN24_GPIO_IDX (GPIOD_IDX)
  1180. /* @brief Number of external pin port on specified port. */
  1181. #define FSL_FEATURE_LLWU_PIN24_GPIO_PIN (8)
  1182. /* @brief Has external pin 25 connected to LLWU device. */
  1183. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN25 (1)
  1184. /* @brief Index of port of external pin. */
  1185. #define FSL_FEATURE_LLWU_PIN25_GPIO_IDX (GPIOD_IDX)
  1186. /* @brief Number of external pin port on specified port. */
  1187. #define FSL_FEATURE_LLWU_PIN25_GPIO_PIN (11)
  1188. /* @brief Has external pin 26 connected to LLWU device. */
  1189. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN26 (0)
  1190. /* @brief Index of port of external pin. */
  1191. #define FSL_FEATURE_LLWU_PIN26_GPIO_IDX (0)
  1192. /* @brief Number of external pin port on specified port. */
  1193. #define FSL_FEATURE_LLWU_PIN26_GPIO_PIN (0)
  1194. /* @brief Has external pin 27 connected to LLWU device. */
  1195. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN27 (0)
  1196. /* @brief Index of port of external pin. */
  1197. #define FSL_FEATURE_LLWU_PIN27_GPIO_IDX (0)
  1198. /* @brief Number of external pin port on specified port. */
  1199. #define FSL_FEATURE_LLWU_PIN27_GPIO_PIN (0)
  1200. /* @brief Has external pin 28 connected to LLWU device. */
  1201. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN28 (0)
  1202. /* @brief Index of port of external pin. */
  1203. #define FSL_FEATURE_LLWU_PIN28_GPIO_IDX (0)
  1204. /* @brief Number of external pin port on specified port. */
  1205. #define FSL_FEATURE_LLWU_PIN28_GPIO_PIN (0)
  1206. /* @brief Has external pin 29 connected to LLWU device. */
  1207. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN29 (0)
  1208. /* @brief Index of port of external pin. */
  1209. #define FSL_FEATURE_LLWU_PIN29_GPIO_IDX (0)
  1210. /* @brief Number of external pin port on specified port. */
  1211. #define FSL_FEATURE_LLWU_PIN29_GPIO_PIN (0)
  1212. /* @brief Has external pin 30 connected to LLWU device. */
  1213. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN30 (0)
  1214. /* @brief Index of port of external pin. */
  1215. #define FSL_FEATURE_LLWU_PIN30_GPIO_IDX (0)
  1216. /* @brief Number of external pin port on specified port. */
  1217. #define FSL_FEATURE_LLWU_PIN30_GPIO_PIN (0)
  1218. /* @brief Has external pin 31 connected to LLWU device. */
  1219. #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN31 (0)
  1220. /* @brief Index of port of external pin. */
  1221. #define FSL_FEATURE_LLWU_PIN31_GPIO_IDX (0)
  1222. /* @brief Number of external pin port on specified port. */
  1223. #define FSL_FEATURE_LLWU_PIN31_GPIO_PIN (0)
  1224. /* @brief Has internal module 0 connected to LLWU device. */
  1225. #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE0 (1)
  1226. /* @brief Has internal module 1 connected to LLWU device. */
  1227. #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE1 (1)
  1228. /* @brief Has internal module 2 connected to LLWU device. */
  1229. #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE2 (1)
  1230. /* @brief Has internal module 3 connected to LLWU device. */
  1231. #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE3 (0)
  1232. /* @brief Has internal module 4 connected to LLWU device. */
  1233. #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE4 (1)
  1234. /* @brief Has internal module 5 connected to LLWU device. */
  1235. #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE5 (1)
  1236. /* @brief Has internal module 6 connected to LLWU device. */
  1237. #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE6 (0)
  1238. /* @brief Has internal module 7 connected to LLWU device. */
  1239. #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE7 (1)
  1240. /* @brief Has Version ID Register (LLWU_VERID). */
  1241. #define FSL_FEATURE_LLWU_HAS_VERID (0)
  1242. /* @brief Has Parameter Register (LLWU_PARAM). */
  1243. #define FSL_FEATURE_LLWU_HAS_PARAM (0)
  1244. /* @brief Width of registers of the LLWU. */
  1245. #define FSL_FEATURE_LLWU_REG_BITWIDTH (8)
  1246. /* @brief Has DMA Enable register (LLWU_DE). */
  1247. #define FSL_FEATURE_LLWU_HAS_DMA_ENABLE_REG (0)
  1248. #endif /* defined(CPU_MK82FN256CAx15) || defined(CPU_MK82FN256VDC15) */
  1249. /* LMEM module features */
  1250. /* @brief Has process identifier support. */
  1251. #define FSL_FEATURE_LMEM_HAS_SYSTEMBUS_CACHE (1)
  1252. /* @brief Has L1 cache. */
  1253. #define FSL_FEATURE_HAS_L1CACHE (1)
  1254. /* @brief L1 ICACHE line size in byte. */
  1255. #define FSL_FEATURE_L1ICACHE_LINESIZE_BYTE (16)
  1256. /* @brief L1 DCACHE line size in byte. */
  1257. #define FSL_FEATURE_L1DCACHE_LINESIZE_BYTE (16)
  1258. /* LPTMR module features */
  1259. /* @brief Has shared interrupt handler with another LPTMR module. */
  1260. #define FSL_FEATURE_LPTMR_HAS_SHARED_IRQ_HANDLER (1)
  1261. /* @brief Whether LPTMR counter is 32 bits width. */
  1262. #define FSL_FEATURE_LPTMR_CNR_WIDTH_IS_32B (0)
  1263. /* @brief Has timer DMA request enable (register bit CSR[TDRE]). */
  1264. #define FSL_FEATURE_LPTMR_HAS_CSR_TDRE (0)
  1265. /* LPUART module features */
  1266. /* @brief LPUART0 and LPUART1 has shared interrupt vector. */
  1267. #define FSL_FEATURE_LPUART_HAS_SHARED_IRQ0_IRQ1 (0)
  1268. /* @brief Has receive FIFO overflow detection (bit field CFIFO[RXOFE]). */
  1269. #define FSL_FEATURE_LPUART_HAS_IRQ_EXTENDED_FUNCTIONS (0)
  1270. /* @brief Has low power features (can be enabled in wait mode via register bit C1[DOZEEN] or CTRL[DOZEEN] if the registers are 32-bit wide). */
  1271. #define FSL_FEATURE_LPUART_HAS_LOW_POWER_UART_SUPPORT (1)
  1272. /* @brief Has extended data register ED (or extra flags in the DATA register if the registers are 32-bit wide). */
  1273. #define FSL_FEATURE_LPUART_HAS_EXTENDED_DATA_REGISTER_FLAGS (1)
  1274. /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
  1275. #define FSL_FEATURE_LPUART_HAS_FIFO (1)
  1276. /* @brief Has 32-bit register MODIR */
  1277. #define FSL_FEATURE_LPUART_HAS_MODIR (1)
  1278. /* @brief Hardware flow control (RTS, CTS) is supported. */
  1279. #define FSL_FEATURE_LPUART_HAS_MODEM_SUPPORT (1)
  1280. /* @brief Infrared (modulation) is supported. */
  1281. #define FSL_FEATURE_LPUART_HAS_IR_SUPPORT (1)
  1282. /* @brief 2 bits long stop bit is available. */
  1283. #define FSL_FEATURE_LPUART_HAS_STOP_BIT_CONFIG_SUPPORT (1)
  1284. /* @brief If 10-bit mode is supported. */
  1285. #define FSL_FEATURE_LPUART_HAS_10BIT_DATA_SUPPORT (1)
  1286. /* @brief If 7-bit mode is supported. */
  1287. #define FSL_FEATURE_LPUART_HAS_7BIT_DATA_SUPPORT (0)
  1288. /* @brief Baud rate fine adjustment is available. */
  1289. #define FSL_FEATURE_LPUART_HAS_BAUD_RATE_FINE_ADJUST_SUPPORT (0)
  1290. /* @brief Baud rate oversampling is available (has bit fields C4[OSR], C5[BOTHEDGE], C5[RESYNCDIS] or BAUD[OSR], BAUD[BOTHEDGE], BAUD[RESYNCDIS] if the registers are 32-bit wide). */
  1291. #define FSL_FEATURE_LPUART_HAS_BAUD_RATE_OVER_SAMPLING_SUPPORT (1)
  1292. /* @brief Baud rate oversampling is available. */
  1293. #define FSL_FEATURE_LPUART_HAS_RX_RESYNC_SUPPORT (1)
  1294. /* @brief Baud rate oversampling is available. */
  1295. #define FSL_FEATURE_LPUART_HAS_BOTH_EDGE_SAMPLING_SUPPORT (1)
  1296. /* @brief Peripheral type. */
  1297. #define FSL_FEATURE_LPUART_IS_SCI (1)
  1298. /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
  1299. #define FSL_FEATURE_LPUART_FIFO_SIZEn(x) \
  1300. ((x) == LPUART0 ? (8) : \
  1301. ((x) == LPUART1 ? (8) : \
  1302. ((x) == LPUART2 ? (1) : \
  1303. ((x) == LPUART3 ? (1) : \
  1304. ((x) == LPUART4 ? (1) : (-1))))))
  1305. /* @brief Maximal data width without parity bit. */
  1306. #define FSL_FEATURE_LPUART_MAX_DATA_WIDTH_WITH_NO_PARITY (10)
  1307. /* @brief Maximal data width with parity bit. */
  1308. #define FSL_FEATURE_LPUART_MAX_DATA_WIDTH_WITH_PARITY (9)
  1309. /* @brief Supports two match addresses to filter incoming frames. */
  1310. #define FSL_FEATURE_LPUART_HAS_ADDRESS_MATCHING (1)
  1311. /* @brief Has transmitter/receiver DMA enable bits C5[TDMAE]/C5[RDMAE] (or BAUD[TDMAE]/BAUD[RDMAE] if the registers are 32-bit wide). */
  1312. #define FSL_FEATURE_LPUART_HAS_DMA_ENABLE (1)
  1313. /* @brief Has transmitter/receiver DMA select bits C4[TDMAS]/C4[RDMAS], resp. C5[TDMAS]/C5[RDMAS] if IS_SCI = 0. */
  1314. #define FSL_FEATURE_LPUART_HAS_DMA_SELECT (0)
  1315. /* @brief Data character bit order selection is supported (bit field S2[MSBF] or STAT[MSBF] if the registers are 32-bit wide). */
  1316. #define FSL_FEATURE_LPUART_HAS_BIT_ORDER_SELECT (1)
  1317. /* @brief Has smart card (ISO7816 protocol) support and no improved smart card support. */
  1318. #define FSL_FEATURE_LPUART_HAS_SMART_CARD_SUPPORT (0)
  1319. /* @brief Has improved smart card (ISO7816 protocol) support. */
  1320. #define FSL_FEATURE_LPUART_HAS_IMPROVED_SMART_CARD_SUPPORT (0)
  1321. /* @brief Has local operation network (CEA709.1-B protocol) support. */
  1322. #define FSL_FEATURE_LPUART_HAS_LOCAL_OPERATION_NETWORK_SUPPORT (0)
  1323. /* @brief Has 32-bit registers (BAUD, STAT, CTRL, DATA, MATCH, MODIR) instead of 8-bit (BDH, BDL, C1, S1, D, etc.). */
  1324. #define FSL_FEATURE_LPUART_HAS_32BIT_REGISTERS (1)
  1325. /* @brief Lin break detect available (has bit BAUD[LBKDIE]). */
  1326. #define FSL_FEATURE_LPUART_HAS_LIN_BREAK_DETECT (1)
  1327. /* @brief UART stops in Wait mode available (has bit C1[UARTSWAI]). */
  1328. #define FSL_FEATURE_LPUART_HAS_WAIT_MODE_OPERATION (0)
  1329. /* @brief Has separate DMA RX and TX requests. */
  1330. #define FSL_FEATURE_LPUART_HAS_SEPARATE_DMA_RX_TX_REQn(x) (1)
  1331. /* @brief Has separate RX and TX interrupts. */
  1332. #define FSL_FEATURE_LPUART_HAS_SEPARATE_RX_TX_IRQ (0)
  1333. /* @brief Has LPAURT_PARAM. */
  1334. #define FSL_FEATURE_LPUART_HAS_PARAM (0)
  1335. /* @brief Has LPUART_VERID. */
  1336. #define FSL_FEATURE_LPUART_HAS_VERID (0)
  1337. /* @brief Has LPUART_GLOBAL. */
  1338. #define FSL_FEATURE_LPUART_HAS_GLOBAL (0)
  1339. /* @brief Has LPUART_PINCFG. */
  1340. #define FSL_FEATURE_LPUART_HAS_PINCFG (0)
  1341. /* LTC module features */
  1342. /* @brief LTC module supports DES algorithm. */
  1343. #define FSL_FEATURE_LTC_HAS_DES (1)
  1344. /* @brief LTC module supports PKHA algorithm. */
  1345. #define FSL_FEATURE_LTC_HAS_PKHA (1)
  1346. /* @brief LTC module supports SHA algorithm. */
  1347. #define FSL_FEATURE_LTC_HAS_SHA (0)
  1348. /* @brief LTC module supports AES GCM mode. */
  1349. #define FSL_FEATURE_LTC_HAS_GCM (1)
  1350. /* @brief LTC module supports DPAMS registers. */
  1351. #define FSL_FEATURE_LTC_HAS_DPAMS (1)
  1352. /* @brief LTC module supports AES with 24 bytes key. */
  1353. #define FSL_FEATURE_LTC_HAS_AES192 (1)
  1354. /* @brief LTC module supports AES with 32 bytes key. */
  1355. #define FSL_FEATURE_LTC_HAS_AES256 (1)
  1356. /* MCG module features */
  1357. /* @brief PRDIV base value (divider of register bit field [PRDIV] zero value). */
  1358. #define FSL_FEATURE_MCG_PLL_PRDIV_BASE (1)
  1359. /* @brief Maximum PLL external reference divider value (max. value of register bit field C5[PRVDIV]). */
  1360. #define FSL_FEATURE_MCG_PLL_PRDIV_MAX (7)
  1361. /* @brief VCO divider base value (multiply factor of register bit field C6[VDIV] zero value). */
  1362. #define FSL_FEATURE_MCG_PLL_VDIV_BASE (16)
  1363. /* @brief PLL reference clock low range. OSCCLK/PLL_R. */
  1364. #define FSL_FEATURE_MCG_PLL_REF_MIN (8000000)
  1365. /* @brief PLL reference clock high range. OSCCLK/PLL_R. */
  1366. #define FSL_FEATURE_MCG_PLL_REF_MAX (16000000)
  1367. /* @brief The PLL clock is divided by 2 before VCO divider. */
  1368. #define FSL_FEATURE_MCG_HAS_PLL_INTERNAL_DIV (1)
  1369. /* @brief FRDIV supports 1280. */
  1370. #define FSL_FEATURE_MCG_FRDIV_SUPPORT_1280 (1)
  1371. /* @brief FRDIV supports 1536. */
  1372. #define FSL_FEATURE_MCG_FRDIV_SUPPORT_1536 (1)
  1373. /* @brief MCGFFCLK divider. */
  1374. #define FSL_FEATURE_MCG_FFCLK_DIV (1)
  1375. /* @brief Is PLL clock divided by 2 before MCG PLL/FLL clock selection in the SIM module. */
  1376. #define FSL_FEATURE_MCG_HAS_PLL_EXTRA_DIV (0)
  1377. /* @brief Has 32kHz RTC external reference clock (register bits C8[LOCS1], C8[CME1], C8[LOCRE1] and RTC module are present). */
  1378. #define FSL_FEATURE_MCG_HAS_RTC_32K (1)
  1379. /* @brief Has PLL1 external reference clock (registers C10, C11, C12, S2). */
  1380. #define FSL_FEATURE_MCG_HAS_PLL1 (0)
  1381. /* @brief Has 48MHz internal oscillator. */
  1382. #define FSL_FEATURE_MCG_HAS_IRC_48M (1)
  1383. /* @brief Has OSC1 external oscillator (registers C10, C11, C12, S2). */
  1384. #define FSL_FEATURE_MCG_HAS_OSC1 (0)
  1385. /* @brief Has fast internal reference clock fine trim (register bit C2[FCFTRIM]). */
  1386. #define FSL_FEATURE_MCG_HAS_FCFTRIM (1)
  1387. /* @brief Has PLL loss of lock reset (register bit C8[LOLRE]). */
  1388. #define FSL_FEATURE_MCG_HAS_LOLRE (1)
  1389. /* @brief Has MCG OSC clock selection (register bit C7[OSCSEL]). */
  1390. #define FSL_FEATURE_MCG_USE_OSCSEL (1)
  1391. /* @brief Has PLL external reference selection (register bits C5[PLLREFSEL0] and C11[PLLREFSEL1]). */
  1392. #define FSL_FEATURE_MCG_USE_PLLREFSEL (0)
  1393. /* @brief TBD */
  1394. #define FSL_FEATURE_MCG_USE_SYSTEM_CLOCK (0)
  1395. /* @brief Has phase-locked loop (PLL) (register C5 and bits C6[VDIV], C6[PLLS], C6[LOLIE0], S[PLLST], S[LOCK0], S[LOLS0]). */
  1396. #define FSL_FEATURE_MCG_HAS_PLL (1)
  1397. /* @brief Has phase-locked loop (PLL) PRDIV (register C5[PRDIV]. */
  1398. #define FSL_FEATURE_MCG_HAS_PLL_PRDIV (1)
  1399. /* @brief Has phase-locked loop (PLL) VDIV (register C6[VDIV]. */
  1400. #define FSL_FEATURE_MCG_HAS_PLL_VDIV (1)
  1401. /* @brief PLL/OSC related register bit fields have PLL/OSC index in their name. */
  1402. #define FSL_FEATURE_MCG_HAS_PLL_OSC_INDEX (0)
  1403. /* @brief Has frequency-locked loop (FLL) (register ATCVH, ATCVL and bits C1[IREFS], C1[FRDIV]). */
  1404. #define FSL_FEATURE_MCG_HAS_FLL (1)
  1405. /* @brief Has PLL external to MCG (C9[PLL_CME], C9[PLL_LOCRE], C9[EXT_PLL_LOCS]). */
  1406. #define FSL_FEATURE_MCG_HAS_EXTERNAL_PLL (0)
  1407. /* @brief Has crystal oscillator or external reference clock low power controls (register bits C2[HGO], C2[RANGE]). */
  1408. #define FSL_FEATURE_MCG_HAS_EXT_REF_LOW_POWER_CONTROL (1)
  1409. /* @brief Has PLL/FLL selection as MCG output (register bit C6[PLLS]). */
  1410. #define FSL_FEATURE_MCG_HAS_PLL_FLL_SELECTION (1)
  1411. /* @brief Has PLL output selection (PLL0/PLL1, PLL/external PLL) (register bit C11[PLLCS]). */
  1412. #define FSL_FEATURE_MCG_HAS_PLL_OUTPUT_SELECTION (0)
  1413. /* @brief Has automatic trim machine (registers ATCVH, ATCVL and bits SC[ATMF], SC[ATMS], SC[ATME]). */
  1414. #define FSL_FEATURE_MCG_HAS_AUTO_TRIM_MACHINE (1)
  1415. /* @brief Has external clock monitor (register bit C6[CME]). */
  1416. #define FSL_FEATURE_MCG_HAS_EXTERNAL_CLOCK_MONITOR (1)
  1417. /* @brief Has low frequency internal reference clock (IRC) (registers LTRIMRNG, LFRIM, LSTRIM and bit MC[LIRC_DIV2]). */
  1418. #define FSL_FEATURE_MCG_HAS_LOW_FREQ_IRC (0)
  1419. /* @brief Has high frequency internal reference clock (IRC) (registers HCTRIM, HTTRIM, HFTRIM and bit MC[HIRCEN]). */
  1420. #define FSL_FEATURE_MCG_HAS_HIGH_FREQ_IRC (0)
  1421. /* @brief Has PEI mode or PBI mode. */
  1422. #define FSL_FEATURE_MCG_HAS_PLL_INTERNAL_MODE (0)
  1423. /* @brief Reset clock mode is BLPI. */
  1424. #define FSL_FEATURE_MCG_RESET_IS_BLPI (0)
  1425. /* interrupt module features */
  1426. /* @brief Lowest interrupt request number. */
  1427. #define FSL_FEATURE_INTERRUPT_IRQ_MIN (-14)
  1428. /* @brief Highest interrupt request number. */
  1429. #define FSL_FEATURE_INTERRUPT_IRQ_MAX (104)
  1430. /* OSC module features */
  1431. /* @brief Has OSC1 external oscillator. */
  1432. #define FSL_FEATURE_OSC_HAS_OSC1 (0)
  1433. /* @brief Has OSC0 external oscillator. */
  1434. #define FSL_FEATURE_OSC_HAS_OSC0 (0)
  1435. /* @brief Has OSC external oscillator (without index). */
  1436. #define FSL_FEATURE_OSC_HAS_OSC (1)
  1437. /* @brief Number of OSC external oscillators. */
  1438. #define FSL_FEATURE_OSC_OSC_COUNT (1)
  1439. /* @brief Has external reference clock divider (register bit field DIV[ERPS]). */
  1440. #define FSL_FEATURE_OSC_HAS_EXT_REF_CLOCK_DIVIDER (1)
  1441. /* PDB module features */
  1442. /* @brief Define the count of supporting ADC pre-trigger for each channel. */
  1443. #define FSL_FEATURE_PDB_ADC_PRE_CHANNEL_COUNT (2)
  1444. /* @brief Has DAC support. */
  1445. #define FSL_FEATURE_PDB_HAS_DAC (1)
  1446. /* @brief Has shared interrupt handler (has not individual interrupt handler for each channel). */
  1447. #define FSL_FEATURE_PDB_HAS_SHARED_IRQ_HANDLER (0)
  1448. /* PIT module features */
  1449. /* @brief Number of channels (related to number of registers LDVALn, CVALn, TCTRLn, TFLGn). */
  1450. #define FSL_FEATURE_PIT_TIMER_COUNT (4)
  1451. /* @brief Has lifetime timer (related to existence of registers LTMR64L and LTMR64H). */
  1452. #define FSL_FEATURE_PIT_HAS_LIFETIME_TIMER (1)
  1453. /* @brief Has chain mode (related to existence of register bit field TCTRLn[CHN]). */
  1454. #define FSL_FEATURE_PIT_HAS_CHAIN_MODE (1)
  1455. /* @brief Has shared interrupt handler (has not individual interrupt handler for each channel). */
  1456. #define FSL_FEATURE_PIT_HAS_SHARED_IRQ_HANDLER (0)
  1457. /* @brief Has timer enable control. */
  1458. #define FSL_FEATURE_PIT_HAS_MDIS (1)
  1459. /* PMC module features */
  1460. /* @brief Has Bandgap Enable In VLPx Operation support. */
  1461. #define FSL_FEATURE_PMC_HAS_BGEN (1)
  1462. /* @brief Has Bandgap Buffer Enable. */
  1463. #define FSL_FEATURE_PMC_HAS_BGBE (1)
  1464. /* @brief Has Bandgap Buffer Drive Select. */
  1465. #define FSL_FEATURE_PMC_HAS_BGBDS (0)
  1466. /* @brief Has Low-Voltage Detect Voltage Select support. */
  1467. #define FSL_FEATURE_PMC_HAS_LVDV (1)
  1468. /* @brief Has Low-Voltage Warning Voltage Select support. */
  1469. #define FSL_FEATURE_PMC_HAS_LVWV (1)
  1470. /* @brief Has LPO. */
  1471. #define FSL_FEATURE_PMC_HAS_LPO (0)
  1472. /* @brief Has VLPx option PMC_REGSC[VLPO]. */
  1473. #define FSL_FEATURE_PMC_HAS_VLPO (0)
  1474. /* @brief Has acknowledge isolation support. */
  1475. #define FSL_FEATURE_PMC_HAS_ACKISO (1)
  1476. /* @brief Has Regulator In Full Performance Mode Status Bit PMC_REGSC[REGFPM]. */
  1477. #define FSL_FEATURE_PMC_HAS_REGFPM (0)
  1478. /* @brief Has Regulator In Run Regulation Status Bit PMC_REGSC[REGONS]. */
  1479. #define FSL_FEATURE_PMC_HAS_REGONS (1)
  1480. /* @brief Has PMC_HVDSC1. */
  1481. #define FSL_FEATURE_PMC_HAS_HVDSC1 (1)
  1482. /* @brief Has PMC_PARAM. */
  1483. #define FSL_FEATURE_PMC_HAS_PARAM (0)
  1484. /* @brief Has PMC_VERID. */
  1485. #define FSL_FEATURE_PMC_HAS_VERID (0)
  1486. /* PORT module features */
  1487. /* @brief Has control lock (register bit PCR[LK]). */
  1488. #define FSL_FEATURE_PORT_HAS_PIN_CONTROL_LOCK (1)
  1489. /* @brief Has open drain control (register bit PCR[ODE]). */
  1490. #define FSL_FEATURE_PORT_HAS_OPEN_DRAIN (1)
  1491. /* @brief Has digital filter (registers DFER, DFCR and DFWR). */
  1492. #define FSL_FEATURE_PORT_HAS_DIGITAL_FILTER (1)
  1493. /* @brief Has DMA request (register bit field PCR[IRQC] values). */
  1494. #define FSL_FEATURE_PORT_HAS_DMA_REQUEST (1)
  1495. /* @brief Has pull resistor selection available. */
  1496. #define FSL_FEATURE_PORT_HAS_PULL_SELECTION (1)
  1497. /* @brief Has pull resistor enable (register bit PCR[PE]). */
  1498. #define FSL_FEATURE_PORT_HAS_PULL_ENABLE (1)
  1499. /* @brief Has slew rate control (register bit PCR[SRE]). */
  1500. #define FSL_FEATURE_PORT_HAS_SLEW_RATE (1)
  1501. /* @brief Has passive filter (register bit field PCR[PFE]). */
  1502. #define FSL_FEATURE_PORT_HAS_PASSIVE_FILTER (1)
  1503. /* @brief Has drive strength control (register bit PCR[DSE]). */
  1504. #define FSL_FEATURE_PORT_HAS_DRIVE_STRENGTH (1)
  1505. /* @brief Has separate drive strength register (HDRVE). */
  1506. #define FSL_FEATURE_PORT_HAS_DRIVE_STRENGTH_REGISTER (0)
  1507. /* @brief Has glitch filter (register IOFLT). */
  1508. #define FSL_FEATURE_PORT_HAS_GLITCH_FILTER (0)
  1509. /* @brief Defines width of PCR[MUX] field. */
  1510. #define FSL_FEATURE_PORT_PCR_MUX_WIDTH (3)
  1511. /* @brief Has dedicated interrupt vector. */
  1512. #define FSL_FEATURE_PORT_HAS_INTERRUPT_VECTOR (1)
  1513. /* @brief Has multiple pin IRQ configuration (register GICLR and GICHR). */
  1514. #define FSL_FEATURE_PORT_HAS_MULTIPLE_IRQ_CONFIG (0)
  1515. /* @brief Defines whether PCR[IRQC] bit-field has flag states. */
  1516. #define FSL_FEATURE_PORT_HAS_IRQC_FLAG (0)
  1517. /* @brief Defines whether PCR[IRQC] bit-field has trigger states. */
  1518. #define FSL_FEATURE_PORT_HAS_IRQC_TRIGGER (0)
  1519. /* QSPI module features */
  1520. /* @brief QSPI lookup table depth. */
  1521. #define FSL_FEATURE_QSPI_LUT_DEPTH (64)
  1522. /* @brief QSPI Tx FIFO depth. */
  1523. #define FSL_FEATURE_QSPI_TXFIFO_DEPTH (16)
  1524. /* @brief QSPI Rx FIFO depth. */
  1525. #define FSL_FEATURE_QSPI_RXFIFO_DEPTH (16)
  1526. /* @brief QSPI AHB buffer count. */
  1527. #define FSL_FEATURE_QSPI_AHB_BUFFER_COUNT (4)
  1528. /* @brief QSPI AMBA base address. */
  1529. #define FSL_FEATURE_QSPI_AMBA_BASE (0x68000000U)
  1530. /* @brief QSPI AHB buffer ARDB base address. */
  1531. #define FSL_FEATURE_QSPI_ARDB_BASE (0x67000000U)
  1532. /* @brief QSPI has command usage error flag. */
  1533. #define FSL_FEATURE_QSPI_HAS_IP_COMMAND_USAGE_ERROR (1)
  1534. /* @brief QSPI support parallel mode. */
  1535. #define FSL_FEATURE_QSPI_SUPPORT_PARALLEL_MODE (1)
  1536. /* @brief QSPI support dual die. */
  1537. #define FSL_FEATURE_QSPI_SUPPORT_DUAL_DIE (1)
  1538. /* RCM module features */
  1539. /* @brief Has Loss-of-Lock Reset support. */
  1540. #define FSL_FEATURE_RCM_HAS_LOL (1)
  1541. /* @brief Has Loss-of-Clock Reset support. */
  1542. #define FSL_FEATURE_RCM_HAS_LOC (1)
  1543. /* @brief Has JTAG generated Reset support. */
  1544. #define FSL_FEATURE_RCM_HAS_JTAG (1)
  1545. /* @brief Has EzPort generated Reset support. */
  1546. #define FSL_FEATURE_RCM_HAS_EZPORT (0)
  1547. /* @brief Has bit-field indicating EZP_MS_B pin state during last reset. */
  1548. #define FSL_FEATURE_RCM_HAS_EZPMS (0)
  1549. /* @brief Has boot ROM configuration, MR[BOOTROM], FM[FORCEROM] */
  1550. #define FSL_FEATURE_RCM_HAS_BOOTROM (1)
  1551. /* @brief Has sticky system reset status register RCM_SSRS0 and RCM_SSRS1. */
  1552. #define FSL_FEATURE_RCM_HAS_SSRS (1)
  1553. /* @brief Has Version ID Register (RCM_VERID). */
  1554. #define FSL_FEATURE_RCM_HAS_VERID (0)
  1555. /* @brief Has Parameter Register (RCM_PARAM). */
  1556. #define FSL_FEATURE_RCM_HAS_PARAM (0)
  1557. /* @brief Has Reset Interrupt Enable Register RCM_SRIE. */
  1558. #define FSL_FEATURE_RCM_HAS_SRIE (0)
  1559. /* @brief Width of registers of the RCM. */
  1560. #define FSL_FEATURE_RCM_REG_WIDTH (8)
  1561. /* @brief Has Core 1 generated Reset support RCM_SRS[CORE1] */
  1562. #define FSL_FEATURE_RCM_HAS_CORE1 (0)
  1563. /* @brief Has MDM-AP system reset support RCM_SRS1[MDM_AP] */
  1564. #define FSL_FEATURE_RCM_HAS_MDM_AP (1)
  1565. /* @brief Has wakeup reset feature. Register bit SRS[WAKEUP]. */
  1566. #define FSL_FEATURE_RCM_HAS_WAKEUP (1)
  1567. /* RTC module features */
  1568. /* @brief Has wakeup pin. */
  1569. #define FSL_FEATURE_RTC_HAS_WAKEUP_PIN (1)
  1570. /* @brief Has wakeup pin selection (bit field CR[WPS]). */
  1571. #define FSL_FEATURE_RTC_HAS_WAKEUP_PIN_SELECTION (1)
  1572. /* @brief Has low power features (registers MER, MCLR and MCHR). */
  1573. #define FSL_FEATURE_RTC_HAS_MONOTONIC (0)
  1574. /* @brief Has read/write access control (registers WAR and RAR). */
  1575. #define FSL_FEATURE_RTC_HAS_ACCESS_CONTROL (1)
  1576. /* @brief Has security features (registers TTSR, MER, MCLR and MCHR). */
  1577. #define FSL_FEATURE_RTC_HAS_SECURITY (1)
  1578. /* @brief Has RTC_CLKIN available. */
  1579. #define FSL_FEATURE_RTC_HAS_RTC_CLKIN (0)
  1580. /* @brief Has prescaler adjust for LPO. */
  1581. #define FSL_FEATURE_RTC_HAS_LPO_ADJUST (0)
  1582. /* @brief Has Clock Pin Enable field. */
  1583. #define FSL_FEATURE_RTC_HAS_CPE (0)
  1584. /* @brief Has Timer Seconds Interrupt Configuration field. */
  1585. #define FSL_FEATURE_RTC_HAS_TSIC (0)
  1586. /* @brief Has OSC capacitor setting RTC_CR[SC2P ~ SC16P] */
  1587. #define FSL_FEATURE_RTC_HAS_OSC_SCXP (1)
  1588. /* @brief Has Tamper Interrupt Register (register TIR). */
  1589. #define FSL_FEATURE_RTC_HAS_TIR (0)
  1590. /* @brief Has Tamper Pin Interrupt Enable (bitfield TIR[TPIE]). */
  1591. #define FSL_FEATURE_RTC_HAS_TIR_TPIE (0)
  1592. /* @brief Has Security Interrupt Enable (bitfield TIR[SIE]). */
  1593. #define FSL_FEATURE_RTC_HAS_TIR_SIE (0)
  1594. /* @brief Has Loss of Clock Interrupt Enable (bitfield TIR[LCIE]). */
  1595. #define FSL_FEATURE_RTC_HAS_TIR_LCIE (0)
  1596. /* @brief Has Tamper Interrupt Detect Flag (bitfield SR[TIDF]). */
  1597. #define FSL_FEATURE_RTC_HAS_SR_TIDF (0)
  1598. /* @brief Has Tamper Detect Register (register TDR). */
  1599. #define FSL_FEATURE_RTC_HAS_TDR (0)
  1600. /* @brief Has Tamper Pin Flag (bitfield TDR[TPF]). */
  1601. #define FSL_FEATURE_RTC_HAS_TDR_TPF (0)
  1602. /* @brief Has Security Tamper Flag (bitfield TDR[STF]). */
  1603. #define FSL_FEATURE_RTC_HAS_TDR_STF (0)
  1604. /* @brief Has Loss of Clock Tamper Flag (bitfield TDR[LCTF]). */
  1605. #define FSL_FEATURE_RTC_HAS_TDR_LCTF (0)
  1606. /* @brief Has Tamper Time Seconds Register (register TTSR). */
  1607. #define FSL_FEATURE_RTC_HAS_TTSR (0)
  1608. /* @brief Has Pin Configuration Register (register PCR). */
  1609. #define FSL_FEATURE_RTC_HAS_PCR (0)
  1610. /* SDHC module features */
  1611. /* @brief Has external DMA support (register bit VENDOR[EXTDMAEN]). */
  1612. #define FSL_FEATURE_SDHC_HAS_EXTERNAL_DMA_SUPPORT (0)
  1613. /* @brief Has support of 3.0V voltage (register bit HTCAPBLT[VS30]). */
  1614. #define FSL_FEATURE_SDHC_HAS_V300_SUPPORT (0)
  1615. /* @brief Has support of 1.8V voltage (register bit HTCAPBLT[VS18]). */
  1616. #define FSL_FEATURE_SDHC_HAS_V180_SUPPORT (0)
  1617. /* SIM module features */
  1618. /* @brief Has USB FS divider. */
  1619. #define FSL_FEATURE_SIM_USBFS_USE_SPECIAL_DIVIDER (0)
  1620. /* @brief Is PLL clock divided by 2 before MCG PLL/FLL clock selection. */
  1621. #define FSL_FEATURE_SIM_PLLCLK_USE_SPECIAL_DIVIDER (0)
  1622. /* @brief Has RAM size specification (register bit field SOPT1[RAMSIZE]). */
  1623. #define FSL_FEATURE_SIM_OPT_HAS_RAMSIZE (1)
  1624. /* @brief Has 32k oscillator clock output (register bit SOPT1[OSC32KOUT]). */
  1625. #define FSL_FEATURE_SIM_OPT_HAS_OSC32K_OUT (0)
  1626. /* @brief Has 32k oscillator clock selection (register bit field SOPT1[OSC32KSEL]). */
  1627. #define FSL_FEATURE_SIM_OPT_HAS_OSC32K_SELECTION (1)
  1628. /* @brief 32k oscillator clock selection width (width of register bit field SOPT1[OSC32KSEL]). */
  1629. #define FSL_FEATURE_SIM_OPT_OSC32K_SELECTION_WIDTH (2)
  1630. /* @brief Has RTC clock output selection (register bit SOPT2[RTCCLKOUTSEL]). */
  1631. #define FSL_FEATURE_SIM_OPT_HAS_RTC_CLOCK_OUT_SELECTION (1)
  1632. /* @brief Has USB voltage regulator (register bits SOPT1[USBVSTBY], SOPT1[USBSSTBY], SOPT1[USBREGEN], SOPT1CFG[URWE], SOPT1CFG[UVSWE], SOPT1CFG[USSWE]). */
  1633. #define FSL_FEATURE_SIM_OPT_HAS_USB_VOLTAGE_REGULATOR (1)
  1634. /* @brief USB has integrated PHY (register bits USBPHYCTL[USBVREGSEL], USBPHYCTL[USBVREGPD], USBPHYCTL[USB3VOUTTRG], USBPHYCTL[USBDISILIM], SOPT2[USBSLSRC], SOPT2[USBREGEN]). */
  1635. #define FSL_FEATURE_SIM_OPT_HAS_USB_PHY (0)
  1636. /* @brief Has PTD7 pad drive strength control (register bit SOPT2[PTD7PAD]). */
  1637. #define FSL_FEATURE_SIM_OPT_HAS_PTD7PAD (0)
  1638. /* @brief Has FlexBus security level selection (register bit SOPT2[FBSL]). */
  1639. #define FSL_FEATURE_SIM_OPT_HAS_FBSL (1)
  1640. /* @brief Has number of FlexBus hold cycle before FlexBus can release bus (register bit SOPT6[PCR]). */
  1641. #define FSL_FEATURE_SIM_OPT_HAS_PCR (0)
  1642. /* @brief Has number of NFC hold cycle in case of FlexBus request (register bit SOPT6[MCC]). */
  1643. #define FSL_FEATURE_SIM_OPT_HAS_MCC (0)
  1644. /* @brief Has UART open drain enable (register bits UARTnODE, where n is a number, in register SOPT5). */
  1645. #define FSL_FEATURE_SIM_OPT_HAS_ODE (0)
  1646. /* @brief Number of LPUART modules (number of register bits LPUARTn, where n is a number, in register SCGC5). */
  1647. #define FSL_FEATURE_SIM_OPT_LPUART_COUNT (5)
  1648. /* @brief Number of UART modules (number of register bits UARTn, where n is a number, in register SCGC4). */
  1649. #define FSL_FEATURE_SIM_OPT_UART_COUNT (0)
  1650. /* @brief Has UART0 open drain enable (register bit SOPT5[UART0ODE]). */
  1651. #define FSL_FEATURE_SIM_OPT_HAS_UART0_ODE (0)
  1652. /* @brief Has UART1 open drain enable (register bit SOPT5[UART1ODE]). */
  1653. #define FSL_FEATURE_SIM_OPT_HAS_UART1_ODE (0)
  1654. /* @brief Has UART2 open drain enable (register bit SOPT5[UART2ODE]). */
  1655. #define FSL_FEATURE_SIM_OPT_HAS_UART2_ODE (0)
  1656. /* @brief Has LPUART0 open drain enable (register bit SOPT5[LPUART0ODE]). */
  1657. #define FSL_FEATURE_SIM_OPT_HAS_LPUART0_ODE (0)
  1658. /* @brief Has LPUART1 open drain enable (register bit SOPT5[LPUART1ODE]). */
  1659. #define FSL_FEATURE_SIM_OPT_HAS_LPUART1_ODE (0)
  1660. /* @brief Has CMT/UART pad drive strength control (register bit SOPT2[CMTUARTPAD]). */
  1661. #define FSL_FEATURE_SIM_OPT_HAS_CMTUARTPAD (0)
  1662. /* @brief Has LPUART0 transmit data source selection (register bit SOPT5[LPUART0TXSRC]). */
  1663. #define FSL_FEATURE_SIM_OPT_HAS_LPUART0_TX_SRC (1)
  1664. /* @brief Has LPUART0 receive data source selection (register bit SOPT5[LPUART0RXSRC]). */
  1665. #define FSL_FEATURE_SIM_OPT_HAS_LPUART0_RX_SRC (1)
  1666. /* @brief Has LPUART1 transmit data source selection (register bit SOPT5[LPUART1TXSRC]). */
  1667. #define FSL_FEATURE_SIM_OPT_HAS_LPUART1_TX_SRC (1)
  1668. /* @brief Has LPUART1 receive data source selection (register bit SOPT5[LPUART1RXSRC]). */
  1669. #define FSL_FEATURE_SIM_OPT_HAS_LPUART1_RX_SRC (1)
  1670. /* @brief Has UART0 transmit data source selection (register bit SOPT5[UART0TXSRC]). */
  1671. #define FSL_FEATURE_SIM_OPT_HAS_UART0_TX_SRC (0)
  1672. /* @brief UART0 transmit data source selection width (width of register bit SOPT5[UART0TXSRC]). */
  1673. #define FSL_FEATURE_SIM_OPT_UART0_TX_SRC_WIDTH (0)
  1674. /* @brief Has UART0 receive data source selection (register bit SOPT5[UART0RXSRC]). */
  1675. #define FSL_FEATURE_SIM_OPT_HAS_UART0_RX_SRC (0)
  1676. /* @brief UART0 receive data source selection width (width of register bit SOPT5[UART0RXSRC]). */
  1677. #define FSL_FEATURE_SIM_OPT_UART0_RX_SRC_WIDTH (0)
  1678. /* @brief Has UART1 transmit data source selection (register bit SOPT5[UART1TXSRC]). */
  1679. #define FSL_FEATURE_SIM_OPT_HAS_UART1_TX_SRC (0)
  1680. /* @brief Has UART1 receive data source selection (register bit SOPT5[UART1RXSRC]). */
  1681. #define FSL_FEATURE_SIM_OPT_HAS_UART1_RX_SRC (0)
  1682. /* @brief UART1 receive data source selection width (width of register bit SOPT5[UART1RXSRC]). */
  1683. #define FSL_FEATURE_SIM_OPT_UART1_RX_SRC_WIDTH (0)
  1684. /* @brief Has FTM module(s) configuration. */
  1685. #define FSL_FEATURE_SIM_OPT_HAS_FTM (1)
  1686. /* @brief Number of FTM modules. */
  1687. #define FSL_FEATURE_SIM_OPT_FTM_COUNT (4)
  1688. /* @brief Number of FTM triggers with selectable source. */
  1689. #define FSL_FEATURE_SIM_OPT_FTM_TRIGGER_COUNT (2)
  1690. /* @brief Has FTM0 triggers source selection (register bits SOPT4[FTM0TRGnSRC], where n is a number). */
  1691. #define FSL_FEATURE_SIM_OPT_HAS_FTM0_TRIGGER (1)
  1692. /* @brief Has FTM3 triggers source selection (register bits SOPT4[FTM3TRGnSRC], where n is a number). */
  1693. #define FSL_FEATURE_SIM_OPT_HAS_FTM3_TRIGGER (1)
  1694. /* @brief Has FTM1 channel 0 input capture source selection (register bit SOPT4[FTM1CH0SRC]). */
  1695. #define FSL_FEATURE_SIM_OPT_HAS_FTM1_CHANNELS (1)
  1696. /* @brief Has FTM2 channel 0 input capture source selection (register bit SOPT4[FTM2CH0SRC]). */
  1697. #define FSL_FEATURE_SIM_OPT_HAS_FTM2_CHANNELS (1)
  1698. /* @brief Has FTM3 channel 0 input capture source selection (register bit SOPT4[FTM3CH0SRC]). */
  1699. #define FSL_FEATURE_SIM_OPT_HAS_FTM3_CHANNELS (0)
  1700. /* @brief Has FTM2 channel 1 input capture source selection (register bit SOPT4[FTM2CH1SRC]). */
  1701. #define FSL_FEATURE_SIM_OPT_HAS_FTM2_CHANNEL1 (1)
  1702. /* @brief Number of configurable FTM0 fault detection input (number of register bits SOPT4[FTM0FLTn], where n is a number starting from zero). */
  1703. #define FSL_FEATURE_SIM_OPT_FTM0_FAULT_COUNT (2)
  1704. /* @brief Number of configurable FTM1 fault detection input (number of register bits SOPT4[FTM1FLTn], where n is a number starting from zero). */
  1705. #define FSL_FEATURE_SIM_OPT_FTM1_FAULT_COUNT (1)
  1706. /* @brief Number of configurable FTM2 fault detection input (number of register bits SOPT4[FTM2FLTn], where n is a number starting from zero). */
  1707. #define FSL_FEATURE_SIM_OPT_FTM2_FAULT_COUNT (1)
  1708. /* @brief Number of configurable FTM3 fault detection input (number of register bits SOPT4[FTM3FLTn], where n is a number starting from zero). */
  1709. #define FSL_FEATURE_SIM_OPT_FTM3_FAULT_COUNT (1)
  1710. /* @brief Has FTM hardware trigger 0 software synchronization (register bit SOPT8[FTMnSYNCBIT], where n is a module instance index). */
  1711. #define FSL_FEATURE_SIM_OPT_HAS_FTM_TRIGGER_SYNC (1)
  1712. /* @brief Has FTM channels output source selection (register bit SOPT8[FTMxOCHnSRC], where x is a module instance index and n is a channel index). */
  1713. #define FSL_FEATURE_SIM_OPT_HAS_FTM_CHANNELS_OUTPUT_SRC (1)
  1714. /* @brief Has TPM module(s) configuration. */
  1715. #define FSL_FEATURE_SIM_OPT_HAS_TPM (1)
  1716. /* @brief The highest TPM module index. */
  1717. #define FSL_FEATURE_SIM_OPT_MAX_TPM_INDEX (2)
  1718. /* @brief Has TPM module with index 0. */
  1719. #define FSL_FEATURE_SIM_OPT_HAS_TPM0 (0)
  1720. /* @brief Has TPM0 clock selection (register bit field SOPT4[TPM0CLKSEL]). */
  1721. #define FSL_FEATURE_SIM_OPT_HAS_TPM0_CLK_SEL (0)
  1722. /* @brief Is TPM channels configuration in the SOPT4 (not SOPT9) register (register bits TPMnCH0SRC, TPMnCLKSEL, where n is a module instance index). */
  1723. #define FSL_FEATURE_SIM_OPT_HAS_TPM_CHANNELS_CONFIG_IN_SOPT4_REG (0)
  1724. /* @brief Has TPM1 channel 0 input capture source selection (register bit field SOPT4[TPM1CH0SRC] or SOPT9[TPM1CH0SRC]). */
  1725. #define FSL_FEATURE_SIM_OPT_HAS_TPM1_CH0_SRC_SELECTION (1)
  1726. /* @brief Has TPM1 clock selection (register bit field SOPT4[TPM1CLKSEL]). */
  1727. #define FSL_FEATURE_SIM_OPT_HAS_TPM1_CLK_SEL (0)
  1728. /* @brief TPM1 channel 0 input capture source selection width (width of register bit field SOPT4[TPM1CH0SRC] or SOPT9[TPM1CH0SRC]). */
  1729. #define FSL_FEATURE_SIM_OPT_TPM1_CH0_SRC_SELECTION_WIDTH (1)
  1730. /* @brief Has TPM2 channel 0 input capture source selection (register bit field SOPT4[TPM2CH0SRC]). */
  1731. #define FSL_FEATURE_SIM_OPT_HAS_TPM2_CH0_SRC_SELECTION (0)
  1732. /* @brief Has TPM2 clock selection (register bit field SOPT4[TPM2CLKSEL]). */
  1733. #define FSL_FEATURE_SIM_OPT_HAS_TPM2_CLK_SEL (0)
  1734. /* @brief Has PLL/FLL clock selection (register bit field SOPT2[PLLFLLSEL]). */
  1735. #define FSL_FEATURE_SIM_OPT_HAS_PLL_FLL_SELECTION (1)
  1736. /* @brief PLL/FLL clock selection width (width of register bit field SOPT2[PLLFLLSEL]). */
  1737. #define FSL_FEATURE_SIM_OPT_PLL_FLL_SELECTION_WIDTH (1)
  1738. /* @brief Has NFC clock source selection (register bit SOPT2[NFCSRC]). */
  1739. #define FSL_FEATURE_SIM_OPT_HAS_NFCSRC (0)
  1740. /* @brief Has eSDHC clock source selection (register bit SOPT2[ESDHCSRC]). */
  1741. #define FSL_FEATURE_SIM_OPT_HAS_ESDHCSRC (0)
  1742. /* @brief Has SDHC clock source selection (register bit SOPT2[SDHCSRC]). */
  1743. #define FSL_FEATURE_SIM_OPT_HAS_SDHCSRC (1)
  1744. /* @brief Has LCDC clock source selection (register bits SOPT2[LCDCSRC], SOPT2[LCDC_CLKSEL]). */
  1745. #define FSL_FEATURE_SIM_OPT_HAS_LCDCSRC (0)
  1746. /* @brief Has ENET timestamp clock source selection (register bit SOPT2[TIMESRC]). */
  1747. #define FSL_FEATURE_SIM_OPT_HAS_TIMESRC (0)
  1748. /* @brief Has ENET RMII clock source selection (register bit SOPT2[RMIISRC]). */
  1749. #define FSL_FEATURE_SIM_OPT_HAS_RMIISRC (0)
  1750. /* @brief Has USB clock source selection (register bit SOPT2[USBSRC]). */
  1751. #define FSL_FEATURE_SIM_OPT_HAS_USBSRC (1)
  1752. /* @brief Has USB FS clock source selection (register bit SOPT2[USBFSRC]). */
  1753. #define FSL_FEATURE_SIM_OPT_HAS_USBFSRC (0)
  1754. /* @brief Has USB HS clock source selection (register bit SOPT2[USBHSRC]). */
  1755. #define FSL_FEATURE_SIM_OPT_HAS_USBHSRC (0)
  1756. /* @brief Has LPUART clock source selection (register bit SOPT2[LPUARTSRC]). */
  1757. #define FSL_FEATURE_SIM_OPT_HAS_LPUARTSRC (1)
  1758. /* @brief Has LPUART0 clock source selection (register bit SOPT2[LPUART0SRC]). */
  1759. #define FSL_FEATURE_SIM_OPT_HAS_LPUART0SRC (0)
  1760. /* @brief Has LPUART1 clock source selection (register bit SOPT2[LPUART1SRC]). */
  1761. #define FSL_FEATURE_SIM_OPT_HAS_LPUART1SRC (0)
  1762. /* @brief Has FLEXIOSRC clock source selection (register bit SOPT2[FLEXIOSRC]). */
  1763. #define FSL_FEATURE_SIM_OPT_HAS_FLEXIOSRC (1)
  1764. /* @brief Has UART0 clock source selection (register bit SOPT2[UART0SRC]). */
  1765. #define FSL_FEATURE_SIM_OPT_HAS_UART0SRC (0)
  1766. /* @brief Has TPM clock source selection (register bit SOPT2[TPMSRC]). */
  1767. #define FSL_FEATURE_SIM_OPT_HAS_TPMSRC (1)
  1768. /* @brief Has debug trace clock selection (register bit SOPT2[TRACECLKSEL]). */
  1769. #define FSL_FEATURE_SIM_OPT_HAS_TRACE_CLKSEL (1)
  1770. /* @brief Number of ADC modules (register bits SOPT7[ADCnTRGSEL], SOPT7[ADCnPRETRGSEL], SOPT7[ADCnALTTRGSEL], where n is a module instance index). */
  1771. #define FSL_FEATURE_SIM_OPT_ADC_COUNT (1)
  1772. /* @brief ADC0 alternate trigger enable width (width of bit field ADC0ALTTRGEN of register SOPT7). */
  1773. #define FSL_FEATURE_SIM_OPT_ADC0ALTTRGEN_WIDTH (1)
  1774. /* @brief ADC1 alternate trigger enable width (width of bit field ADC1ALTTRGEN of register SOPT7). */
  1775. #define FSL_FEATURE_SIM_OPT_ADC1ALTTRGEN_WIDTH (0)
  1776. /* @brief ADC2 alternate trigger enable width (width of bit field ADC2ALTTRGEN of register SOPT7). */
  1777. #define FSL_FEATURE_SIM_OPT_ADC2ALTTRGEN_WIDTH (0)
  1778. /* @brief ADC3 alternate trigger enable width (width of bit field ADC3ALTTRGEN of register SOPT7). */
  1779. #define FSL_FEATURE_SIM_OPT_ADC3ALTTRGEN_WIDTH (0)
  1780. /* @brief HSADC0 converter A alternate trigger enable width (width of bit field HSADC0AALTTRGEN of register SOPT7). */
  1781. #define FSL_FEATURE_SIM_OPT_HSADC0AALTTRGEN_WIDTH (0)
  1782. /* @brief HSADC1 converter A alternate trigger enable width (width of bit field HSADC1AALTTRGEN of register SOPT7). */
  1783. #define FSL_FEATURE_SIM_OPT_HSADC1AALTTRGEN_WIDTH (0)
  1784. /* @brief ADC converter A alternate trigger enable width (width of bit field ADCAALTTRGEN of register SOPT7). */
  1785. #define FSL_FEATURE_SIM_OPT_ADCAALTTRGEN_WIDTH (0)
  1786. /* @brief HSADC0 converter B alternate trigger enable width (width of bit field HSADC0BALTTRGEN of register SOPT7). */
  1787. #define FSL_FEATURE_SIM_OPT_HSADC0BALTTRGEN_WIDTH (0)
  1788. /* @brief HSADC1 converter B alternate trigger enable width (width of bit field HSADC1BALTTRGEN of register SOPT7). */
  1789. #define FSL_FEATURE_SIM_OPT_HSADC1BALTTRGEN_WIDTH (0)
  1790. /* @brief ADC converter B alternate trigger enable width (width of bit field ADCBALTTRGEN of register SOPT7). */
  1791. #define FSL_FEATURE_SIM_OPT_ADCBALTTRGEN_WIDTH (0)
  1792. /* @brief Has clock 2 output divider (register bit field CLKDIV1[OUTDIV2]). */
  1793. #define FSL_FEATURE_SIM_DIVIDER_HAS_OUTDIV2 (1)
  1794. /* @brief Has clock 3 output divider (register bit field CLKDIV1[OUTDIV3]). */
  1795. #define FSL_FEATURE_SIM_DIVIDER_HAS_OUTDIV3 (1)
  1796. /* @brief Has clock 4 output divider (register bit field CLKDIV1[OUTDIV4]). */
  1797. #define FSL_FEATURE_SIM_DIVIDER_HAS_OUTDIV4 (1)
  1798. /* @brief Clock 4 output divider width (width of register bit field CLKDIV1[OUTDIV4]). */
  1799. #define FSL_FEATURE_SIM_DIVIDER_OUTDIV4_WIDTH (4)
  1800. /* @brief Has clock 5 output divider (register bit field CLKDIV1[OUTDIV5]). */
  1801. #define FSL_FEATURE_SIM_DIVIDER_HAS_OUTDIV5 (0)
  1802. /* @brief Has USB clock divider (register bit field CLKDIV2[USBDIV] and CLKDIV2[USBFRAC]). */
  1803. #define FSL_FEATURE_SIM_DIVIDER_HAS_USBDIV (1)
  1804. /* @brief Has USB FS clock divider (register bit field CLKDIV2[USBFSDIV] and CLKDIV2[USBFSFRAC]). */
  1805. #define FSL_FEATURE_SIM_DIVIDER_HAS_USBFSDIV (0)
  1806. /* @brief Has USB HS clock divider (register bit field CLKDIV2[USBHSDIV] and CLKDIV2[USBHSFRAC]). */
  1807. #define FSL_FEATURE_SIM_DIVIDER_HAS_USBHSDIV (0)
  1808. /* @brief Has PLL/FLL clock divider (register bit field CLKDIV3[PLLFLLDIV] and CLKDIV3[PLLFLLFRAC]). */
  1809. #define FSL_FEATURE_SIM_DIVIDER_HAS_PLLFLLDIV (1)
  1810. /* @brief Has LCDC clock divider (register bit field CLKDIV3[LCDCDIV] and CLKDIV3[LCDCFRAC]). */
  1811. #define FSL_FEATURE_SIM_DIVIDER_HAS_LCDCDIV (0)
  1812. /* @brief Has trace clock divider (register bit field CLKDIV4[TRACEDIV] and CLKDIV4[TRACEFRAC]). */
  1813. #define FSL_FEATURE_SIM_DIVIDER_HAS_TRACEDIV (1)
  1814. /* @brief Has NFC clock divider (register bit field CLKDIV4[NFCDIV] and CLKDIV4[NFCFRAC]). */
  1815. #define FSL_FEATURE_SIM_DIVIDER_HAS_NFCDIV (0)
  1816. /* @brief Has Kinetis family ID (register bit field SDID[FAMILYID]). */
  1817. #define FSL_FEATURE_SIM_SDID_HAS_FAMILYID (1)
  1818. /* @brief Has Kinetis family ID (register bit field SDID[FAMID]). */
  1819. #define FSL_FEATURE_SIM_SDID_HAS_FAMID (1)
  1820. /* @brief Has Kinetis sub-family ID (register bit field SDID[SUBFAMID]). */
  1821. #define FSL_FEATURE_SIM_SDID_HAS_SUBFAMID (1)
  1822. /* @brief Has Kinetis series ID (register bit field SDID[SERIESID]). */
  1823. #define FSL_FEATURE_SIM_SDID_HAS_SERIESID (1)
  1824. /* @brief Has device die ID (register bit field SDID[DIEID]). */
  1825. #define FSL_FEATURE_SIM_SDID_HAS_DIEID (1)
  1826. /* @brief Has system SRAM size specifier (register bit field SDID[SRAMSIZE]). */
  1827. #define FSL_FEATURE_SIM_SDID_HAS_SRAMSIZE (0)
  1828. /* @brief Has flash mode (register bit FCFG1[FLASHDOZE]). */
  1829. #define FSL_FEATURE_SIM_FCFG_HAS_FLASHDOZE (1)
  1830. /* @brief Has flash disable (register bit FCFG1[FLASHDIS]). */
  1831. #define FSL_FEATURE_SIM_FCFG_HAS_FLASHDIS (1)
  1832. /* @brief Has FTFE disable (register bit FCFG1[FTFDIS]). */
  1833. #define FSL_FEATURE_SIM_FCFG_HAS_FTFDIS (0)
  1834. /* @brief Has FlexNVM size specifier (register bit field FCFG1[NVMSIZE]). */
  1835. #define FSL_FEATURE_SIM_FCFG_HAS_NVMSIZE (0)
  1836. /* @brief Has EEPROM size specifier (register bit field FCFG1[EESIZE]). */
  1837. #define FSL_FEATURE_SIM_FCFG_HAS_EESIZE (0)
  1838. /* @brief Has FlexNVM partition (register bit field FCFG1[DEPART]). */
  1839. #define FSL_FEATURE_SIM_FCFG_HAS_DEPART (0)
  1840. /* @brief Maximum flash address block 0 address specifier (register bit field FCFG2[MAXADDR0]). */
  1841. #define FSL_FEATURE_SIM_FCFG_HAS_MAXADDR0 (1)
  1842. /* @brief Maximum flash address block 1 address specifier (register bit field FCFG2[MAXADDR1]). */
  1843. #define FSL_FEATURE_SIM_FCFG_HAS_MAXADDR1 (1)
  1844. /* @brief Maximum flash address block 0 or 1 address specifier (register bit field FCFG2[MAXADDR01]). */
  1845. #define FSL_FEATURE_SIM_FCFG_HAS_MAXADDR01 (0)
  1846. /* @brief Maximum flash address block 2 or 3 address specifier (register bit field FCFG2[MAXADDR23]). */
  1847. #define FSL_FEATURE_SIM_FCFG_HAS_MAXADDR23 (0)
  1848. /* @brief Has program flash availability specifier (register bit FCFG2[PFLSH]). */
  1849. #define FSL_FEATURE_SIM_FCFG_HAS_PFLSH (0)
  1850. /* @brief Has program flash swapping (register bit FCFG2[SWAPPFLSH]). */
  1851. #define FSL_FEATURE_SIM_FCFG_HAS_PFLSH_SWAP (0)
  1852. /* @brief Has miscellanious control register (register MCR). */
  1853. #define FSL_FEATURE_SIM_HAS_MISC_CONTROLS (0)
  1854. /* @brief Has COP watchdog (registers COPC and SRVCOP). */
  1855. #define FSL_FEATURE_SIM_HAS_COP_WATCHDOG (0)
  1856. /* @brief Has COP watchdog stop (register bits COPC[COPSTPEN], COPC[COPDBGEN] and COPC[COPCLKSEL]). */
  1857. #define FSL_FEATURE_SIM_HAS_COP_STOP (0)
  1858. /* @brief Has LLWU clock gate bit (e.g SIM_SCGC4). */
  1859. #define FSL_FEATURE_SIM_HAS_SCGC_LLWU (0)
  1860. /* SMC module features */
  1861. /* @brief Has partial stop option (register bit STOPCTRL[PSTOPO]). */
  1862. #define FSL_FEATURE_SMC_HAS_PSTOPO (1)
  1863. /* @brief Has LPO power option (register bit STOPCTRL[LPOPO]). */
  1864. #define FSL_FEATURE_SMC_HAS_LPOPO (1)
  1865. /* @brief Has POR power option (register bit STOPCTRL[PORPO] or VLLSCTRL[PORPO]). */
  1866. #define FSL_FEATURE_SMC_HAS_PORPO (1)
  1867. /* @brief Has low power wakeup on interrupt (register bit PMCTRL[LPWUI]). */
  1868. #define FSL_FEATURE_SMC_HAS_LPWUI (0)
  1869. /* @brief Has LLS or VLLS mode control (register bit STOPCTRL[LLSM]). */
  1870. #define FSL_FEATURE_SMC_HAS_LLS_SUBMODE (1)
  1871. /* @brief Has VLLS mode control (register bit VLLSCTRL[VLLSM]). */
  1872. #define FSL_FEATURE_SMC_USE_VLLSCTRL_REG (0)
  1873. /* @brief Has VLLS mode control (register bit STOPCTRL[VLLSM]). */
  1874. #define FSL_FEATURE_SMC_USE_STOPCTRL_VLLSM (0)
  1875. /* @brief Has RAM partition 2 power option (register bit STOPCTRL[RAM2PO]). */
  1876. #define FSL_FEATURE_SMC_HAS_RAM2_POWER_OPTION (1)
  1877. /* @brief Has high speed run mode (register bit PMPROT[AHSRUN]). */
  1878. #define FSL_FEATURE_SMC_HAS_HIGH_SPEED_RUN_MODE (1)
  1879. /* @brief Has low leakage stop mode (register bit PMPROT[ALLS]). */
  1880. #define FSL_FEATURE_SMC_HAS_LOW_LEAKAGE_STOP_MODE (1)
  1881. /* @brief Has very low leakage stop mode (register bit PMPROT[AVLLS]). */
  1882. #define FSL_FEATURE_SMC_HAS_VERY_LOW_LEAKAGE_STOP_MODE (1)
  1883. /* @brief Has stop submode. */
  1884. #define FSL_FEATURE_SMC_HAS_SUB_STOP_MODE (1)
  1885. /* @brief Has stop submode 0(VLLS0). */
  1886. #define FSL_FEATURE_SMC_HAS_STOP_SUBMODE0 (1)
  1887. /* @brief Has stop submode 1(VLLS1). */
  1888. #define FSL_FEATURE_SMC_HAS_STOP_SUBMODE1 (1)
  1889. /* @brief Has stop submode 2(VLLS2). */
  1890. #define FSL_FEATURE_SMC_HAS_STOP_SUBMODE2 (1)
  1891. /* @brief Has SMC_PARAM. */
  1892. #define FSL_FEATURE_SMC_HAS_PARAM (0)
  1893. /* @brief Has SMC_VERID. */
  1894. #define FSL_FEATURE_SMC_HAS_VERID (0)
  1895. /* @brief Has stop abort flag (register bit PMCTRL[STOPA]). */
  1896. #define FSL_FEATURE_SMC_HAS_PMCTRL_STOPA (1)
  1897. /* @brief Has tamper reset (register bit SRS[TAMPER]). */
  1898. #define FSL_FEATURE_SMC_HAS_SRS_TAMPER (0)
  1899. /* @brief Has security violation reset (register bit SRS[SECVIO]). */
  1900. #define FSL_FEATURE_SMC_HAS_SRS_SECVIO (0)
  1901. /* DSPI module features */
  1902. /* @brief Receive/transmit FIFO size in number of items. */
  1903. #define FSL_FEATURE_DSPI_FIFO_SIZEn(x) \
  1904. ((x) == SPI0 ? (4) : \
  1905. ((x) == SPI1 ? (1) : \
  1906. ((x) == SPI2 ? (1) : (-1))))
  1907. /* @brief Maximum transfer data width in bits. */
  1908. #define FSL_FEATURE_DSPI_MAX_DATA_WIDTH (16)
  1909. /* @brief Maximum number of chip select pins. (Reflects the width of register bit field PUSHR[PCS].) */
  1910. #define FSL_FEATURE_DSPI_MAX_CHIP_SELECT_COUNT (6)
  1911. /* @brief Number of chip select pins. */
  1912. #define FSL_FEATURE_DSPI_CHIP_SELECT_COUNT (6)
  1913. /* @brief Number of CTAR registers. */
  1914. #define FSL_FEATURE_DSPI_CTAR_COUNT (2)
  1915. /* @brief Has chip select strobe capability on the PCS5 pin. */
  1916. #define FSL_FEATURE_DSPI_HAS_CHIP_SELECT_STROBE (1)
  1917. /* @brief Has separated TXDATA and CMD FIFOs (register SREX). */
  1918. #define FSL_FEATURE_DSPI_HAS_SEPARATE_TXDATA_CMD_FIFO (0)
  1919. /* @brief Has 16-bit data transfer support. */
  1920. #define FSL_FEATURE_DSPI_16BIT_TRANSFERS (1)
  1921. /* @brief Has separate DMA RX and TX requests. */
  1922. #define FSL_FEATURE_DSPI_HAS_SEPARATE_DMA_RX_TX_REQn(x) (1)
  1923. /* SYSMPU module features */
  1924. /* @brief Specifies number of descriptors available. */
  1925. #define FSL_FEATURE_SYSMPU_DESCRIPTOR_COUNT (12)
  1926. /* @brief Has process identifier support. */
  1927. #define FSL_FEATURE_SYSMPU_HAS_PROCESS_IDENTIFIER (1)
  1928. /* @brief Total number of MPU slave. */
  1929. #define FSL_FEATURE_SYSMPU_SLAVE_COUNT (5)
  1930. /* @brief Total number of MPU master. */
  1931. #define FSL_FEATURE_SYSMPU_MASTER_COUNT (6)
  1932. /* SysTick module features */
  1933. /* @brief Systick has external reference clock. */
  1934. #define FSL_FEATURE_SYSTICK_HAS_EXT_REF (0)
  1935. /* @brief Systick external reference clock is core clock divided by this value. */
  1936. #define FSL_FEATURE_SYSTICK_EXT_REF_CORE_DIV (0)
  1937. /* TPM module features */
  1938. /* @brief Bus clock is the source clock for the module. */
  1939. #define FSL_FEATURE_TPM_BUS_CLOCK (0)
  1940. /* @brief Number of channels. */
  1941. #define FSL_FEATURE_TPM_CHANNEL_COUNTn(x) (2)
  1942. /* @brief Has counter reset by the selected input capture event (register bits C0SC[ICRST], C1SC[ICRST], ...). */
  1943. #define FSL_FEATURE_TPM_HAS_COUNTER_RESET_BY_CAPTURE_EVENT (0)
  1944. /* @brief Has TPM_PARAM. */
  1945. #define FSL_FEATURE_TPM_HAS_PARAM (0)
  1946. /* @brief Has TPM_VERID. */
  1947. #define FSL_FEATURE_TPM_HAS_VERID (0)
  1948. /* @brief Has TPM_GLOBAL. */
  1949. #define FSL_FEATURE_TPM_HAS_GLOBAL (0)
  1950. /* @brief Has TPM_TRIG. */
  1951. #define FSL_FEATURE_TPM_HAS_TRIG (0)
  1952. /* @brief Has counter pause on trigger. */
  1953. #define FSL_FEATURE_TPM_HAS_PAUSE_COUNTER_ON_TRIGGER (1)
  1954. /* @brief Has external trigger selection. */
  1955. #define FSL_FEATURE_TPM_HAS_EXTERNAL_TRIGGER_SELECTION (1)
  1956. /* @brief Has TPM_COMBINE register. */
  1957. #define FSL_FEATURE_TPM_HAS_COMBINE (1)
  1958. /* @brief Whether COMBINE register has effect. */
  1959. #define FSL_FEATURE_TPM_COMBINE_HAS_EFFECTn(x) (1)
  1960. /* @brief Has TPM_POL. */
  1961. #define FSL_FEATURE_TPM_HAS_POL (1)
  1962. /* @brief Has TPM_FILTER register. */
  1963. #define FSL_FEATURE_TPM_HAS_FILTER (1)
  1964. /* @brief Whether FILTER register has effect. */
  1965. #define FSL_FEATURE_TPM_FILTER_HAS_EFFECTn(x) (1)
  1966. /* @brief Has TPM_QDCTRL register. */
  1967. #define FSL_FEATURE_TPM_HAS_QDCTRL (1)
  1968. /* @brief Whether QDCTRL register has effect. */
  1969. #define FSL_FEATURE_TPM_QDCTRL_HAS_EFFECTn(x) (1)
  1970. /* TSI module features */
  1971. /* @brief TSI module version. */
  1972. #define FSL_FEATURE_TSI_VERSION (4)
  1973. /* @brief Has end-of-scan DMA transfer request enable (register bit GENCS[EOSDMEO]). */
  1974. #define FSL_FEATURE_TSI_HAS_END_OF_SCAN_DMA_ENABLE (1)
  1975. /* @brief Number of TSI channels. */
  1976. #define FSL_FEATURE_TSI_CHANNEL_COUNT (16)
  1977. /* USB module features */
  1978. /* @brief KHCI module instance count */
  1979. #define FSL_FEATURE_USB_KHCI_COUNT (1)
  1980. /* @brief HOST mode enabled */
  1981. #define FSL_FEATURE_USB_KHCI_HOST_ENABLED (1)
  1982. /* @brief OTG mode enabled */
  1983. #define FSL_FEATURE_USB_KHCI_OTG_ENABLED (1)
  1984. /* @brief Size of the USB dedicated RAM */
  1985. #define FSL_FEATURE_USB_KHCI_USB_RAM (0)
  1986. /* @brief Has KEEP_ALIVE_CTRL register */
  1987. #define FSL_FEATURE_USB_KHCI_KEEP_ALIVE_ENABLED (0)
  1988. /* @brief Has the Dynamic SOF threshold compare support */
  1989. #define FSL_FEATURE_USB_KHCI_DYNAMIC_SOF_THRESHOLD_COMPARE_ENABLED (1)
  1990. /* @brief Has the VBUS detect support */
  1991. #define FSL_FEATURE_USB_KHCI_VBUS_DETECT_ENABLED (1)
  1992. /* @brief Has the IRC48M module clock support */
  1993. #define FSL_FEATURE_USB_KHCI_IRC48M_MODULE_CLOCK_ENABLED (1)
  1994. /* @brief Number of endpoints supported */
  1995. #define FSL_FEATURE_USB_ENDPT_COUNT (16)
  1996. /* @brief Has STALL_IL/OL_DIS registers */
  1997. #define FSL_FEATURE_USB_KHCI_HAS_STALL_LOW (0)
  1998. /* @brief Has STALL_IH/OH_DIS registers */
  1999. #define FSL_FEATURE_USB_KHCI_HAS_STALL_HIGH (0)
  2000. /* VREF module features */
  2001. /* @brief Has chop oscillator (bit TRM[CHOPEN]) */
  2002. #define FSL_FEATURE_VREF_HAS_CHOP_OSC (1)
  2003. /* @brief Has second order curvature compensation (bit SC[ICOMPEN]) */
  2004. #define FSL_FEATURE_VREF_HAS_COMPENSATION (1)
  2005. /* @brief If high/low buffer mode supported */
  2006. #define FSL_FEATURE_VREF_MODE_LV_TYPE (1)
  2007. /* @brief Module has also low reference (registers VREFL/VREFH) */
  2008. #define FSL_FEATURE_VREF_HAS_LOW_REFERENCE (0)
  2009. /* @brief Has VREF_TRM4. */
  2010. #define FSL_FEATURE_VREF_HAS_TRM4 (0)
  2011. /* WDOG module features */
  2012. /* @brief Watchdog is available. */
  2013. #define FSL_FEATURE_WDOG_HAS_WATCHDOG (1)
  2014. /* @brief Has Wait mode support. */
  2015. #define FSL_FEATURE_WDOG_HAS_WAITEN (1)
  2016. #endif /* _MK82F25615_FEATURES_H_ */