1 /*
2 ** ###################################################################
3 **     Version:             rev. 1.0, 2019-08-01
4 **     Build:               b201028
5 **
6 **     Abstract:
7 **         Chip specific module features.
8 **
9 **     Copyright 2016 Freescale Semiconductor, Inc.
10 **     Copyright 2016-2020 NXP
11 **     All rights reserved.
12 **
13 **     SPDX-License-Identifier: BSD-3-Clause
14 **
15 **     http:                 www.nxp.com
16 **     mail:                 support@nxp.com
17 **
18 **     Revisions:
19 **     - rev. 1.0 (2019-08-01)
20 **         Initial version.
21 **
22 ** ###################################################################
23 */
24 
25 #ifndef _MKM35Z7_FEATURES_H_
26 #define _MKM35Z7_FEATURES_H_
27 
28 /* SOC module features */
29 
30 /* @brief ADC16 availability on the SoC. */
31 #define FSL_FEATURE_SOC_ADC16_COUNT (1)
32 /* @brief AFE availability on the SoC. */
33 #define FSL_FEATURE_SOC_AFE_COUNT (1)
34 /* @brief AIPS availability on the SoC. */
35 #define FSL_FEATURE_SOC_AIPS_COUNT (1)
36 /* @brief MMCAU availability on the SoC. */
37 #define FSL_FEATURE_SOC_MMCAU_COUNT (1)
38 /* @brief CMP availability on the SoC. */
39 #define FSL_FEATURE_SOC_CMP_COUNT (3)
40 /* @brief CRC availability on the SoC. */
41 #define FSL_FEATURE_SOC_CRC_COUNT (1)
42 /* @brief DMA availability on the SoC. */
43 #define FSL_FEATURE_SOC_DMA_COUNT (1)
44 /* @brief DMAMUX availability on the SoC. */
45 #define FSL_FEATURE_SOC_DMAMUX_COUNT (1)
46 /* @brief EWM availability on the SoC. */
47 #define FSL_FEATURE_SOC_EWM_COUNT (1)
48 /* @brief FGPIO availability on the SoC. */
49 #define FSL_FEATURE_SOC_FGPIO_COUNT (13)
50 /* @brief FTFA availability on the SoC. */
51 #define FSL_FEATURE_SOC_FTFA_COUNT (1)
52 /* @brief GPIO availability on the SoC. */
53 #define FSL_FEATURE_SOC_GPIO_COUNT (13)
54 /* @brief I2C availability on the SoC. */
55 #define FSL_FEATURE_SOC_I2C_COUNT (2)
56 /* @brief SLCD availability on the SoC. */
57 #define FSL_FEATURE_SOC_SLCD_COUNT (1)
58 /* @brief LLWU availability on the SoC. */
59 #define FSL_FEATURE_SOC_LLWU_COUNT (1)
60 /* @brief LPTMR availability on the SoC. */
61 #define FSL_FEATURE_SOC_LPTMR_COUNT (2)
62 /* @brief LPUART availability on the SoC. */
63 #define FSL_FEATURE_SOC_LPUART_COUNT (1)
64 /* @brief MCG availability on the SoC. */
65 #define FSL_FEATURE_SOC_MCG_COUNT (1)
66 /* @brief MCM availability on the SoC. */
67 #define FSL_FEATURE_SOC_MCM_COUNT (1)
68 /* @brief MMAU availability on the SoC. */
69 #define FSL_FEATURE_SOC_MMAU_COUNT (1)
70 /* @brief SYSMPU availability on the SoC. */
71 #define FSL_FEATURE_SOC_SYSMPU_COUNT (1)
72 /* @brief MTB availability on the SoC. */
73 #define FSL_FEATURE_SOC_MTB_COUNT (1)
74 /* @brief MTBDWT availability on the SoC. */
75 #define FSL_FEATURE_SOC_MTBDWT_COUNT (1)
76 /* @brief OSC availability on the SoC. */
77 #define FSL_FEATURE_SOC_OSC_COUNT (1)
78 /* @brief PDB availability on the SoC. */
79 #define FSL_FEATURE_SOC_PDB_COUNT (1)
80 /* @brief PIT availability on the SoC. */
81 #define FSL_FEATURE_SOC_PIT_COUNT (2)
82 /* @brief PMC availability on the SoC. */
83 #define FSL_FEATURE_SOC_PMC_COUNT (1)
84 /* @brief PORT availability on the SoC. */
85 #define FSL_FEATURE_SOC_PORT_COUNT (13)
86 /* @brief RCM availability on the SoC. */
87 #define FSL_FEATURE_SOC_RCM_COUNT (1)
88 /* @brief RNG availability on the SoC. */
89 #define FSL_FEATURE_SOC_RNG_COUNT (1)
90 /* @brief ROM availability on the SoC. */
91 #define FSL_FEATURE_SOC_ROM_COUNT (1)
92 /* @brief RTC availability on the SoC. */
93 #define FSL_FEATURE_SOC_RTC_COUNT (1)
94 /* @brief SIM availability on the SoC. */
95 #define FSL_FEATURE_SOC_SIM_COUNT (1)
96 /* @brief SMC availability on the SoC. */
97 #define FSL_FEATURE_SOC_SMC_COUNT (1)
98 /* @brief SPI availability on the SoC. */
99 #define FSL_FEATURE_SOC_SPI_COUNT (3)
100 /* @brief TMR availability on the SoC. */
101 #define FSL_FEATURE_SOC_TMR_COUNT (4)
102 /* @brief UART availability on the SoC. */
103 #define FSL_FEATURE_SOC_UART_COUNT (4)
104 /* @brief VREF availability on the SoC. */
105 #define FSL_FEATURE_SOC_VREF_COUNT (1)
106 /* @brief WDOG availability on the SoC. */
107 #define FSL_FEATURE_SOC_WDOG_COUNT (1)
108 /* @brief XBAR availability on the SoC. */
109 #define FSL_FEATURE_SOC_XBAR_COUNT (1)
110 
111 /* ADC16 module features */
112 
113 /* @brief Has Programmable Gain Amplifier (PGA) in ADC (register PGA). */
114 #define FSL_FEATURE_ADC16_HAS_PGA (0)
115 /* @brief Has PGA chopping control in ADC (bit PGA[PGACHPb] or PGA[PGACHP]). */
116 #define FSL_FEATURE_ADC16_HAS_PGA_CHOPPING (0)
117 /* @brief Has PGA offset measurement mode in ADC (bit PGA[PGAOFSM]). */
118 #define FSL_FEATURE_ADC16_HAS_PGA_OFFSET_MEASUREMENT (0)
119 /* @brief Has DMA support (bit SC2[DMAEN] or SC4[DMAEN]). */
120 #define FSL_FEATURE_ADC16_HAS_DMA (1)
121 /* @brief Has differential mode (bitfield SC1x[DIFF]). */
122 #define FSL_FEATURE_ADC16_HAS_DIFF_MODE (0)
123 /* @brief Has FIFO (bit SC4[AFDEP]). */
124 #define FSL_FEATURE_ADC16_HAS_FIFO (0)
125 /* @brief FIFO size if available (bitfield SC4[AFDEP]). */
126 #define FSL_FEATURE_ADC16_FIFO_SIZE (0)
127 /* @brief Has channel set a/b multiplexor (bitfield CFG2[MUXSEL]). */
128 #define FSL_FEATURE_ADC16_HAS_MUX_SELECT (1)
129 /* @brief Has HW trigger masking (bitfield SC5[HTRGMASKE]. */
130 #define FSL_FEATURE_ADC16_HAS_HW_TRIGGER_MASK (0)
131 /* @brief Has calibration feature (bit SC3[CAL] and registers CLPx, CLMx). */
132 #define FSL_FEATURE_ADC16_HAS_CALIBRATION (1)
133 /* @brief Has HW averaging (bit SC3[AVGE]). */
134 #define FSL_FEATURE_ADC16_HAS_HW_AVERAGE (1)
135 /* @brief Has offset correction (register OFS). */
136 #define FSL_FEATURE_ADC16_HAS_OFFSET_CORRECTION (1)
137 /* @brief Maximum ADC resolution. */
138 #define FSL_FEATURE_ADC16_MAX_RESOLUTION (16)
139 /* @brief Number of SC1x and Rx register pairs (conversion control and result registers). */
140 #define FSL_FEATURE_ADC16_CONVERSION_CONTROL_COUNT (4)
141 /* @brief Has reference from PMC Bandgap voltage. */
142 #define FSL_FEATURE_ADC16_HAS_VREF_BANDGAP (1)
143 
144 /* AFE module features */
145 
146 /* @brief AFE channel counter. */
147 #define FSL_FEATURE_AFE_CHANNEL_NUMBER (4)
148 /* @brief AFE channel counter with PGA feature. */
149 #define FSL_FEATURE_AFE_CHANNEL_NUMBER_WITH_PGA (4)
150 /* @brief  AFE has four channels. */
151 #define FSL_FEATURE_AFE_HAS_FOUR_CHANNELS (1)
152 
153 /* CMP module features */
154 
155 /* @brief Has Trigger mode in CMP (register bit field CR1[TRIGM]). */
156 #define FSL_FEATURE_CMP_HAS_TRIGGER_MODE (1)
157 /* @brief Has Window mode in CMP (register bit field CR1[WE]). */
158 #define FSL_FEATURE_CMP_HAS_WINDOW_MODE (1)
159 /* @brief Has External sample supported in CMP (register bit field CR1[SE]). */
160 #define FSL_FEATURE_CMP_HAS_EXTERNAL_SAMPLE_SUPPORT (1)
161 /* @brief Has DMA support in CMP (register bit field SCR[DMAEN]). */
162 #define FSL_FEATURE_CMP_HAS_DMA (1)
163 /* @brief Has Pass Through mode in CMP (register bit field MUXCR[PSTM]). */
164 #define FSL_FEATURE_CMP_HAS_PASS_THROUGH_MODE (0)
165 /* @brief Has DAC Test function in CMP (register DACTEST). */
166 #define FSL_FEATURE_CMP_HAS_DAC_TEST (0)
167 
168 /* CRC module features */
169 
170 /* @brief Has data register with name CRC */
171 #define FSL_FEATURE_CRC_HAS_CRC_REG (0)
172 
173 /* DMA module features */
174 
175 /* @brief Number of DMA channels. */
176 #define FSL_FEATURE_DMA_MODULE_CHANNEL (4)
177 /* @brief Total number of DMA channels on all modules. */
178 #define FSL_FEATURE_DMA_DMAMUX_CHANNELS (4)
179 
180 /* DMAMUX module features */
181 
182 /* @brief Number of DMA channels (related to number of register CHCFGn). */
183 #define FSL_FEATURE_DMAMUX_MODULE_CHANNEL (4)
184 /* @brief Total number of DMA channels on all modules. */
185 #define FSL_FEATURE_DMAMUX_DMAMUX_CHANNELS (4)
186 /* @brief Has the periodic trigger capability for the triggered DMA channel (register bit CHCFG0[TRIG]). */
187 #define FSL_FEATURE_DMAMUX_HAS_TRIG (1)
188 /* @brief Register CHCFGn width. */
189 #define FSL_FEATURE_DMAMUX_CHCFG_REGISTER_WIDTH (8)
190 
191 /* EWM module features */
192 
193 /* @brief Has clock select (register CLKCTRL). */
194 #define FSL_FEATURE_EWM_HAS_CLOCK_SELECT (1)
195 /* @brief Has clock prescaler (register CLKPRESCALER). */
196 #define FSL_FEATURE_EWM_HAS_PRESCALER (1)
197 
198 /* FGPIO module features */
199 
200 /* @brief Has FGPIO attribute checker register (GACR). */
201 #define FSL_FEATURE_FGPIO_HAS_ATTRIBUTE_CHECKER (1)
202 
203 /* FLASH module features */
204 
205 #if defined(CPU_MKM35Z256VLL7) || defined(CPU_MKM35Z256VLL7R) || defined(CPU_MKM35Z256VLQ7) || defined(CPU_MKM35Z256VLQ7R)
206     /* @brief Is of type FTFA. */
207     #define FSL_FEATURE_FLASH_IS_FTFA (1)
208     /* @brief Is of type FTFE. */
209     #define FSL_FEATURE_FLASH_IS_FTFE (0)
210     /* @brief Is of type FTFL. */
211     #define FSL_FEATURE_FLASH_IS_FTFL (0)
212     /* @brief Has flags indicating the status of the FlexRAM (register bits FCNFG[EEERDY], FCNFG[RAMRDY] and FCNFG[PFLSH]). */
213     #define FSL_FEATURE_FLASH_HAS_FLEX_RAM_FLAGS (0)
214     /* @brief Has program flash swapping status flag (register bit FCNFG[SWAP]). */
215     #define FSL_FEATURE_FLASH_HAS_PFLASH_SWAPPING_STATUS_FLAG (0)
216     /* @brief Has EEPROM region protection (register FEPROT). */
217     #define FSL_FEATURE_FLASH_HAS_EEROM_REGION_PROTECTION (0)
218     /* @brief Has data flash region protection (register FDPROT). */
219     #define FSL_FEATURE_FLASH_HAS_DATA_FLASH_REGION_PROTECTION (0)
220     /* @brief Has flash access control (registers XACCHn, SACCHn, where n is a number, FACSS and FACSN). */
221     #define FSL_FEATURE_FLASH_HAS_ACCESS_CONTROL (0)
222     /* @brief Has flash cache control in FMC module. */
223     #define FSL_FEATURE_FLASH_HAS_FMC_FLASH_CACHE_CONTROLS (0)
224     /* @brief Has flash cache control in MCM module. */
225     #define FSL_FEATURE_FLASH_HAS_MCM_FLASH_CACHE_CONTROLS (1)
226     /* @brief Has flash cache control in MSCM module. */
227     #define FSL_FEATURE_FLASH_HAS_MSCM_FLASH_CACHE_CONTROLS (0)
228     /* @brief Has prefetch speculation control in flash, such as kv5x. */
229     #define FSL_FEATURE_FLASH_PREFETCH_SPECULATION_CONTROL_IN_FLASH (0)
230     /* @brief P-Flash flash size coding rule version, value 0 for K1 and K2, value 1 for K3. */
231     #define FSL_FEATURE_FLASH_SIZE_ENCODING_RULE_VERSION (0)
232     /* @brief P-Flash start address. */
233     #define FSL_FEATURE_FLASH_PFLASH_START_ADDRESS (0x00000000)
234     /* @brief P-Flash block count. */
235     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_COUNT (1)
236     /* @brief P-Flash block size. */
237     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_SIZE (262144)
238     /* @brief P-Flash sector size. */
239     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_SECTOR_SIZE (2048)
240     /* @brief P-Flash write unit size. */
241     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_WRITE_UNIT_SIZE (4)
242     /* @brief P-Flash data path width. */
243     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_DATA_PATH_WIDTH (8)
244     /* @brief P-Flash block swap feature. */
245     #define FSL_FEATURE_FLASH_HAS_PFLASH_BLOCK_SWAP (0)
246     /* @brief P-Flash protection region count. */
247     #define FSL_FEATURE_FLASH_PFLASH_PROTECTION_REGION_COUNT (32)
248     /* @brief Has FlexNVM memory. */
249     #define FSL_FEATURE_FLASH_HAS_FLEX_NVM (0)
250     /* @brief Has FlexNVM alias. */
251     #define FSL_FEATURE_FLASH_HAS_FLEX_NVM_ALIAS (0)
252     /* @brief FlexNVM start address. (Valid only if FlexNVM is available.) */
253     #define FSL_FEATURE_FLASH_FLEX_NVM_START_ADDRESS (0x00000000)
254     /* @brief FlexNVM alias start address. (Valid only if FlexNVM alias is available.) */
255     #define FSL_FEATURE_FLASH_FLEX_NVM_ALIAS_START_ADDRESS (0x00000000)
256     /* @brief FlexNVM block count. */
257     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_COUNT (0)
258     /* @brief FlexNVM block size. */
259     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_SIZE (0)
260     /* @brief FlexNVM sector size. */
261     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_SECTOR_SIZE (0)
262     /* @brief FlexNVM write unit size. */
263     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_WRITE_UNIT_SIZE (0)
264     /* @brief FlexNVM data path width. */
265     #define FSL_FEATURE_FLASH_FLEX_BLOCK_DATA_PATH_WIDTH (0)
266     /* @brief Has FlexRAM memory. */
267     #define FSL_FEATURE_FLASH_HAS_FLEX_RAM (0)
268     /* @brief FlexRAM start address. (Valid only if FlexRAM is available.) */
269     #define FSL_FEATURE_FLASH_FLEX_RAM_START_ADDRESS (0x00000000)
270     /* @brief FlexRAM size. */
271     #define FSL_FEATURE_FLASH_FLEX_RAM_SIZE (0)
272     /* @brief Has 0x00 Read 1s Block command. */
273     #define FSL_FEATURE_FLASH_HAS_READ_1S_BLOCK_CMD (0)
274     /* @brief Has 0x01 Read 1s Section command. */
275     #define FSL_FEATURE_FLASH_HAS_READ_1S_SECTION_CMD (1)
276     /* @brief Has 0x02 Program Check command. */
277     #define FSL_FEATURE_FLASH_HAS_PROGRAM_CHECK_CMD (1)
278     /* @brief Has 0x03 Read Resource command. */
279     #define FSL_FEATURE_FLASH_HAS_READ_RESOURCE_CMD (1)
280     /* @brief Has 0x06 Program Longword command. */
281     #define FSL_FEATURE_FLASH_HAS_PROGRAM_LONGWORD_CMD (1)
282     /* @brief Has 0x07 Program Phrase command. */
283     #define FSL_FEATURE_FLASH_HAS_PROGRAM_PHRASE_CMD (0)
284     /* @brief Has 0x08 Erase Flash Block command. */
285     #define FSL_FEATURE_FLASH_HAS_ERASE_FLASH_BLOCK_CMD (0)
286     /* @brief Has 0x09 Erase Flash Sector command. */
287     #define FSL_FEATURE_FLASH_HAS_ERASE_FLASH_SECTOR_CMD (1)
288     /* @brief Has 0x0B Program Section command. */
289     #define FSL_FEATURE_FLASH_HAS_PROGRAM_SECTION_CMD (0)
290     /* @brief Has 0x40 Read 1s All Blocks command. */
291     #define FSL_FEATURE_FLASH_HAS_READ_1S_ALL_BLOCKS_CMD (1)
292     /* @brief Has 0x41 Read Once command. */
293     #define FSL_FEATURE_FLASH_HAS_READ_ONCE_CMD (1)
294     /* @brief Has 0x43 Program Once command. */
295     #define FSL_FEATURE_FLASH_HAS_PROGRAM_ONCE_CMD (1)
296     /* @brief Has 0x44 Erase All Blocks command. */
297     #define FSL_FEATURE_FLASH_HAS_ERASE_ALL_BLOCKS_CMD (1)
298     /* @brief Has 0x45 Verify Backdoor Access Key command. */
299     #define FSL_FEATURE_FLASH_HAS_VERIFY_BACKDOOR_ACCESS_KEY_CMD (1)
300     /* @brief Has 0x46 Swap Control command. */
301     #define FSL_FEATURE_FLASH_HAS_SWAP_CONTROL_CMD (0)
302     /* @brief Has 0x49 Erase All Blocks Unsecure command. */
303     #define FSL_FEATURE_FLASH_HAS_ERASE_ALL_BLOCKS_UNSECURE_CMD (0)
304     /* @brief Has 0x4A Read 1s All Execute-only Segments command. */
305     #define FSL_FEATURE_FLASH_HAS_READ_1S_ALL_EXECUTE_ONLY_SEGMENTS_CMD (0)
306     /* @brief Has 0x4B Erase All Execute-only Segments command. */
307     #define FSL_FEATURE_FLASH_HAS_ERASE_ALL_EXECUTE_ONLY_SEGMENTS_CMD (0)
308     /* @brief Has 0x80 Program Partition command. */
309     #define FSL_FEATURE_FLASH_HAS_PROGRAM_PARTITION_CMD (0)
310     /* @brief Has 0x81 Set FlexRAM Function command. */
311     #define FSL_FEATURE_FLASH_HAS_SET_FLEXRAM_FUNCTION_CMD (0)
312     /* @brief P-Flash Erase/Read 1st all block command address alignment. */
313     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_CMD_ADDRESS_ALIGMENT (4)
314     /* @brief P-Flash Erase sector command address alignment. */
315     #define FSL_FEATURE_FLASH_PFLASH_SECTOR_CMD_ADDRESS_ALIGMENT (8)
316     /* @brief P-Flash Rrogram/Verify section command address alignment. */
317     #define FSL_FEATURE_FLASH_PFLASH_SECTION_CMD_ADDRESS_ALIGMENT (8)
318     /* @brief P-Flash Read resource command address alignment. */
319     #define FSL_FEATURE_FLASH_PFLASH_RESOURCE_CMD_ADDRESS_ALIGMENT (4)
320     /* @brief P-Flash Program check command address alignment. */
321     #define FSL_FEATURE_FLASH_PFLASH_CHECK_CMD_ADDRESS_ALIGMENT (4)
322     /* @brief P-Flash Program check command address alignment. */
323     #define FSL_FEATURE_FLASH_PFLASH_SWAP_CONTROL_CMD_ADDRESS_ALIGMENT (0)
324     /* @brief FlexNVM Erase/Read 1st all block command address alignment. */
325     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_CMD_ADDRESS_ALIGMENT (0)
326     /* @brief FlexNVM Erase sector command address alignment. */
327     #define FSL_FEATURE_FLASH_FLEX_NVM_SECTOR_CMD_ADDRESS_ALIGMENT (0)
328     /* @brief FlexNVM Rrogram/Verify section command address alignment. */
329     #define FSL_FEATURE_FLASH_FLEX_NVM_SECTION_CMD_ADDRESS_ALIGMENT (0)
330     /* @brief FlexNVM Read resource command address alignment. */
331     #define FSL_FEATURE_FLASH_FLEX_NVM_RESOURCE_CMD_ADDRESS_ALIGMENT (0)
332     /* @brief FlexNVM Program check command address alignment. */
333     #define FSL_FEATURE_FLASH_FLEX_NVM_CHECK_CMD_ADDRESS_ALIGMENT (0)
334     /* @brief FlexNVM partition code 0000 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
335     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0000 (0xFFFFFFFFU)
336     /* @brief FlexNVM partition code 0001 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
337     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0001 (0xFFFFFFFFU)
338     /* @brief FlexNVM partition code 0010 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
339     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0010 (0xFFFFFFFFU)
340     /* @brief FlexNVM partition code 0011 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
341     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0011 (0xFFFFFFFFU)
342     /* @brief FlexNVM partition code 0100 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
343     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0100 (0xFFFFFFFFU)
344     /* @brief FlexNVM partition code 0101 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
345     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0101 (0xFFFFFFFFU)
346     /* @brief FlexNVM partition code 0110 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
347     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0110 (0xFFFFFFFFU)
348     /* @brief FlexNVM partition code 0111 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
349     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0111 (0xFFFFFFFFU)
350     /* @brief FlexNVM partition code 1000 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
351     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1000 (0xFFFFFFFFU)
352     /* @brief FlexNVM partition code 1001 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
353     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1001 (0xFFFFFFFFU)
354     /* @brief FlexNVM partition code 1010 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
355     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1010 (0xFFFFFFFFU)
356     /* @brief FlexNVM partition code 1011 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
357     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1011 (0xFFFFFFFFU)
358     /* @brief FlexNVM partition code 1100 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
359     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1100 (0xFFFFFFFFU)
360     /* @brief FlexNVM partition code 1101 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
361     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1101 (0xFFFFFFFFU)
362     /* @brief FlexNVM partition code 1110 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
363     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1110 (0xFFFFFFFFU)
364     /* @brief FlexNVM partition code 1111 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
365     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1111 (0xFFFFFFFFU)
366     /* @brief Emulated eeprom size code 0000 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
367     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0000 (0xFFFF)
368     /* @brief Emulated eeprom size code 0001 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
369     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0001 (0xFFFF)
370     /* @brief Emulated eeprom size code 0010 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
371     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0010 (0xFFFF)
372     /* @brief Emulated eeprom size code 0011 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
373     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0011 (0xFFFF)
374     /* @brief Emulated eeprom size code 0100 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
375     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0100 (0xFFFF)
376     /* @brief Emulated eeprom size code 0101 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
377     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0101 (0xFFFF)
378     /* @brief Emulated eeprom size code 0110 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
379     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0110 (0xFFFF)
380     /* @brief Emulated eeprom size code 0111 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
381     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0111 (0xFFFF)
382     /* @brief Emulated eeprom size code 1000 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
383     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1000 (0xFFFF)
384     /* @brief Emulated eeprom size code 1001 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
385     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1001 (0xFFFF)
386     /* @brief Emulated eeprom size code 1010 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
387     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1010 (0xFFFF)
388     /* @brief Emulated eeprom size code 1011 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
389     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1011 (0xFFFF)
390     /* @brief Emulated eeprom size code 1100 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
391     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1100 (0xFFFF)
392     /* @brief Emulated eeprom size code 1101 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
393     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1101 (0xFFFF)
394     /* @brief Emulated eeprom size code 1110 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
395     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1110 (0xFFFF)
396     /* @brief Emulated eeprom size code 1111 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
397     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1111 (0xFFFF)
398 #elif defined(CPU_MKM35Z512VLL7) || defined(CPU_MKM35Z512VLL7R) || defined(CPU_MKM35Z512VLQ7) || defined(CPU_MKM35Z512VLQ7R)
399     /* @brief Is of type FTFA. */
400     #define FSL_FEATURE_FLASH_IS_FTFA (1)
401     /* @brief Is of type FTFE. */
402     #define FSL_FEATURE_FLASH_IS_FTFE (0)
403     /* @brief Is of type FTFL. */
404     #define FSL_FEATURE_FLASH_IS_FTFL (0)
405     /* @brief Has flags indicating the status of the FlexRAM (register bits FCNFG[EEERDY], FCNFG[RAMRDY] and FCNFG[PFLSH]). */
406     #define FSL_FEATURE_FLASH_HAS_FLEX_RAM_FLAGS (0)
407     /* @brief Has program flash swapping status flag (register bit FCNFG[SWAP]). */
408     #define FSL_FEATURE_FLASH_HAS_PFLASH_SWAPPING_STATUS_FLAG (0)
409     /* @brief Has EEPROM region protection (register FEPROT). */
410     #define FSL_FEATURE_FLASH_HAS_EEROM_REGION_PROTECTION (0)
411     /* @brief Has data flash region protection (register FDPROT). */
412     #define FSL_FEATURE_FLASH_HAS_DATA_FLASH_REGION_PROTECTION (0)
413     /* @brief Has flash access control (registers XACCHn, SACCHn, where n is a number, FACSS and FACSN). */
414     #define FSL_FEATURE_FLASH_HAS_ACCESS_CONTROL (0)
415     /* @brief Has flash cache control in FMC module. */
416     #define FSL_FEATURE_FLASH_HAS_FMC_FLASH_CACHE_CONTROLS (0)
417     /* @brief Has flash cache control in MCM module. */
418     #define FSL_FEATURE_FLASH_HAS_MCM_FLASH_CACHE_CONTROLS (1)
419     /* @brief Has flash cache control in MSCM module. */
420     #define FSL_FEATURE_FLASH_HAS_MSCM_FLASH_CACHE_CONTROLS (0)
421     /* @brief Has prefetch speculation control in flash, such as kv5x. */
422     #define FSL_FEATURE_FLASH_PREFETCH_SPECULATION_CONTROL_IN_FLASH (0)
423     /* @brief P-Flash flash size coding rule version, value 0 for K1 and K2, value 1 for K3. */
424     #define FSL_FEATURE_FLASH_SIZE_ENCODING_RULE_VERSION (0)
425     /* @brief P-Flash start address. */
426     #define FSL_FEATURE_FLASH_PFLASH_START_ADDRESS (0x00000000)
427     /* @brief P-Flash block count. */
428     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_COUNT (2)
429     /* @brief P-Flash block size. */
430     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_SIZE (262144)
431     /* @brief P-Flash sector size. */
432     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_SECTOR_SIZE (2048)
433     /* @brief P-Flash write unit size. */
434     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_WRITE_UNIT_SIZE (4)
435     /* @brief P-Flash data path width. */
436     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_DATA_PATH_WIDTH (8)
437     /* @brief P-Flash block swap feature. */
438     #define FSL_FEATURE_FLASH_HAS_PFLASH_BLOCK_SWAP (0)
439     /* @brief P-Flash protection region count. */
440     #define FSL_FEATURE_FLASH_PFLASH_PROTECTION_REGION_COUNT (32)
441     /* @brief Has FlexNVM memory. */
442     #define FSL_FEATURE_FLASH_HAS_FLEX_NVM (0)
443     /* @brief Has FlexNVM alias. */
444     #define FSL_FEATURE_FLASH_HAS_FLEX_NVM_ALIAS (0)
445     /* @brief FlexNVM start address. (Valid only if FlexNVM is available.) */
446     #define FSL_FEATURE_FLASH_FLEX_NVM_START_ADDRESS (0x00000000)
447     /* @brief FlexNVM alias start address. (Valid only if FlexNVM alias is available.) */
448     #define FSL_FEATURE_FLASH_FLEX_NVM_ALIAS_START_ADDRESS (0x00000000)
449     /* @brief FlexNVM block count. */
450     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_COUNT (0)
451     /* @brief FlexNVM block size. */
452     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_SIZE (0)
453     /* @brief FlexNVM sector size. */
454     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_SECTOR_SIZE (0)
455     /* @brief FlexNVM write unit size. */
456     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_WRITE_UNIT_SIZE (0)
457     /* @brief FlexNVM data path width. */
458     #define FSL_FEATURE_FLASH_FLEX_BLOCK_DATA_PATH_WIDTH (0)
459     /* @brief Has FlexRAM memory. */
460     #define FSL_FEATURE_FLASH_HAS_FLEX_RAM (0)
461     /* @brief FlexRAM start address. (Valid only if FlexRAM is available.) */
462     #define FSL_FEATURE_FLASH_FLEX_RAM_START_ADDRESS (0x00000000)
463     /* @brief FlexRAM size. */
464     #define FSL_FEATURE_FLASH_FLEX_RAM_SIZE (0)
465     /* @brief Has 0x00 Read 1s Block command. */
466     #define FSL_FEATURE_FLASH_HAS_READ_1S_BLOCK_CMD (1)
467     /* @brief Has 0x01 Read 1s Section command. */
468     #define FSL_FEATURE_FLASH_HAS_READ_1S_SECTION_CMD (1)
469     /* @brief Has 0x02 Program Check command. */
470     #define FSL_FEATURE_FLASH_HAS_PROGRAM_CHECK_CMD (1)
471     /* @brief Has 0x03 Read Resource command. */
472     #define FSL_FEATURE_FLASH_HAS_READ_RESOURCE_CMD (1)
473     /* @brief Has 0x06 Program Longword command. */
474     #define FSL_FEATURE_FLASH_HAS_PROGRAM_LONGWORD_CMD (1)
475     /* @brief Has 0x07 Program Phrase command. */
476     #define FSL_FEATURE_FLASH_HAS_PROGRAM_PHRASE_CMD (0)
477     /* @brief Has 0x08 Erase Flash Block command. */
478     #define FSL_FEATURE_FLASH_HAS_ERASE_FLASH_BLOCK_CMD (1)
479     /* @brief Has 0x09 Erase Flash Sector command. */
480     #define FSL_FEATURE_FLASH_HAS_ERASE_FLASH_SECTOR_CMD (1)
481     /* @brief Has 0x0B Program Section command. */
482     #define FSL_FEATURE_FLASH_HAS_PROGRAM_SECTION_CMD (0)
483     /* @brief Has 0x40 Read 1s All Blocks command. */
484     #define FSL_FEATURE_FLASH_HAS_READ_1S_ALL_BLOCKS_CMD (1)
485     /* @brief Has 0x41 Read Once command. */
486     #define FSL_FEATURE_FLASH_HAS_READ_ONCE_CMD (1)
487     /* @brief Has 0x43 Program Once command. */
488     #define FSL_FEATURE_FLASH_HAS_PROGRAM_ONCE_CMD (1)
489     /* @brief Has 0x44 Erase All Blocks command. */
490     #define FSL_FEATURE_FLASH_HAS_ERASE_ALL_BLOCKS_CMD (1)
491     /* @brief Has 0x45 Verify Backdoor Access Key command. */
492     #define FSL_FEATURE_FLASH_HAS_VERIFY_BACKDOOR_ACCESS_KEY_CMD (1)
493     /* @brief Has 0x46 Swap Control command. */
494     #define FSL_FEATURE_FLASH_HAS_SWAP_CONTROL_CMD (0)
495     /* @brief Has 0x49 Erase All Blocks Unsecure command. */
496     #define FSL_FEATURE_FLASH_HAS_ERASE_ALL_BLOCKS_UNSECURE_CMD (0)
497     /* @brief Has 0x4A Read 1s All Execute-only Segments command. */
498     #define FSL_FEATURE_FLASH_HAS_READ_1S_ALL_EXECUTE_ONLY_SEGMENTS_CMD (0)
499     /* @brief Has 0x4B Erase All Execute-only Segments command. */
500     #define FSL_FEATURE_FLASH_HAS_ERASE_ALL_EXECUTE_ONLY_SEGMENTS_CMD (0)
501     /* @brief Has 0x80 Program Partition command. */
502     #define FSL_FEATURE_FLASH_HAS_PROGRAM_PARTITION_CMD (0)
503     /* @brief Has 0x81 Set FlexRAM Function command. */
504     #define FSL_FEATURE_FLASH_HAS_SET_FLEXRAM_FUNCTION_CMD (0)
505     /* @brief P-Flash Erase/Read 1st all block command address alignment. */
506     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_CMD_ADDRESS_ALIGMENT (4)
507     /* @brief P-Flash Erase sector command address alignment. */
508     #define FSL_FEATURE_FLASH_PFLASH_SECTOR_CMD_ADDRESS_ALIGMENT (8)
509     /* @brief P-Flash Rrogram/Verify section command address alignment. */
510     #define FSL_FEATURE_FLASH_PFLASH_SECTION_CMD_ADDRESS_ALIGMENT (8)
511     /* @brief P-Flash Read resource command address alignment. */
512     #define FSL_FEATURE_FLASH_PFLASH_RESOURCE_CMD_ADDRESS_ALIGMENT (4)
513     /* @brief P-Flash Program check command address alignment. */
514     #define FSL_FEATURE_FLASH_PFLASH_CHECK_CMD_ADDRESS_ALIGMENT (4)
515     /* @brief P-Flash Program check command address alignment. */
516     #define FSL_FEATURE_FLASH_PFLASH_SWAP_CONTROL_CMD_ADDRESS_ALIGMENT (0)
517     /* @brief FlexNVM Erase/Read 1st all block command address alignment. */
518     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_CMD_ADDRESS_ALIGMENT (0)
519     /* @brief FlexNVM Erase sector command address alignment. */
520     #define FSL_FEATURE_FLASH_FLEX_NVM_SECTOR_CMD_ADDRESS_ALIGMENT (0)
521     /* @brief FlexNVM Rrogram/Verify section command address alignment. */
522     #define FSL_FEATURE_FLASH_FLEX_NVM_SECTION_CMD_ADDRESS_ALIGMENT (0)
523     /* @brief FlexNVM Read resource command address alignment. */
524     #define FSL_FEATURE_FLASH_FLEX_NVM_RESOURCE_CMD_ADDRESS_ALIGMENT (0)
525     /* @brief FlexNVM Program check command address alignment. */
526     #define FSL_FEATURE_FLASH_FLEX_NVM_CHECK_CMD_ADDRESS_ALIGMENT (0)
527     /* @brief FlexNVM partition code 0000 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
528     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0000 (0xFFFFFFFFU)
529     /* @brief FlexNVM partition code 0001 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
530     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0001 (0xFFFFFFFFU)
531     /* @brief FlexNVM partition code 0010 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
532     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0010 (0xFFFFFFFFU)
533     /* @brief FlexNVM partition code 0011 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
534     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0011 (0xFFFFFFFFU)
535     /* @brief FlexNVM partition code 0100 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
536     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0100 (0xFFFFFFFFU)
537     /* @brief FlexNVM partition code 0101 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
538     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0101 (0xFFFFFFFFU)
539     /* @brief FlexNVM partition code 0110 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
540     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0110 (0xFFFFFFFFU)
541     /* @brief FlexNVM partition code 0111 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
542     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0111 (0xFFFFFFFFU)
543     /* @brief FlexNVM partition code 1000 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
544     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1000 (0xFFFFFFFFU)
545     /* @brief FlexNVM partition code 1001 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
546     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1001 (0xFFFFFFFFU)
547     /* @brief FlexNVM partition code 1010 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
548     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1010 (0xFFFFFFFFU)
549     /* @brief FlexNVM partition code 1011 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
550     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1011 (0xFFFFFFFFU)
551     /* @brief FlexNVM partition code 1100 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
552     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1100 (0xFFFFFFFFU)
553     /* @brief FlexNVM partition code 1101 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
554     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1101 (0xFFFFFFFFU)
555     /* @brief FlexNVM partition code 1110 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
556     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1110 (0xFFFFFFFFU)
557     /* @brief FlexNVM partition code 1111 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
558     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1111 (0xFFFFFFFFU)
559     /* @brief Emulated eeprom size code 0000 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
560     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0000 (0xFFFF)
561     /* @brief Emulated eeprom size code 0001 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
562     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0001 (0xFFFF)
563     /* @brief Emulated eeprom size code 0010 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
564     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0010 (0xFFFF)
565     /* @brief Emulated eeprom size code 0011 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
566     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0011 (0xFFFF)
567     /* @brief Emulated eeprom size code 0100 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
568     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0100 (0xFFFF)
569     /* @brief Emulated eeprom size code 0101 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
570     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0101 (0xFFFF)
571     /* @brief Emulated eeprom size code 0110 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
572     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0110 (0xFFFF)
573     /* @brief Emulated eeprom size code 0111 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
574     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0111 (0xFFFF)
575     /* @brief Emulated eeprom size code 1000 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
576     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1000 (0xFFFF)
577     /* @brief Emulated eeprom size code 1001 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
578     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1001 (0xFFFF)
579     /* @brief Emulated eeprom size code 1010 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
580     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1010 (0xFFFF)
581     /* @brief Emulated eeprom size code 1011 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
582     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1011 (0xFFFF)
583     /* @brief Emulated eeprom size code 1100 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
584     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1100 (0xFFFF)
585     /* @brief Emulated eeprom size code 1101 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
586     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1101 (0xFFFF)
587     /* @brief Emulated eeprom size code 1110 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
588     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1110 (0xFFFF)
589     /* @brief Emulated eeprom size code 1111 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
590     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1111 (0xFFFF)
591 #endif /* defined(CPU_MKM35Z256VLL7) || defined(CPU_MKM35Z256VLL7R) || defined(CPU_MKM35Z256VLQ7) || defined(CPU_MKM35Z256VLQ7R) */
592 
593 /* GPIO module features */
594 
595 /* @brief Has GPIO attribute checker register (GACR). */
596 #define FSL_FEATURE_GPIO_HAS_ATTRIBUTE_CHECKER (1)
597 /* @brief GPIO registers width */
598 #define FSL_FEATURE_GPIO_REGISTERS_WIDTH (8)
599 
600 /* I2C module features */
601 
602 /* @brief Has System Management Bus support (registers SMB, A2, SLTL and SLTH). */
603 #define FSL_FEATURE_I2C_HAS_SMBUS (1)
604 /* @brief Maximum supported baud rate in kilobit per second. */
605 #define FSL_FEATURE_I2C_MAX_BAUD_KBPS (400)
606 /* @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). */
607 #define FSL_FEATURE_I2C_HAS_ERRATA_6070 (0)
608 /* @brief Has DMA support (register bit C1[DMAEN]). */
609 #define FSL_FEATURE_I2C_HAS_DMA_SUPPORT (1)
610 /* @brief Has I2C bus start and stop detection (register bits FLT[SSIE], FLT[STARTF] and FLT[STOPF]). */
611 #define FSL_FEATURE_I2C_HAS_START_STOP_DETECT (1)
612 /* @brief Has I2C bus stop detection (register bits FLT[STOPIE] and FLT[STOPF]). */
613 #define FSL_FEATURE_I2C_HAS_STOP_DETECT (0)
614 /* @brief Has I2C bus stop hold off (register bit FLT[SHEN]). */
615 #define FSL_FEATURE_I2C_HAS_STOP_HOLD_OFF (1)
616 /* @brief Maximum width of the glitch filter in number of bus clocks. */
617 #define FSL_FEATURE_I2C_MAX_GLITCH_FILTER_WIDTH (15)
618 /* @brief Has control of the drive capability of the I2C pins. */
619 #define FSL_FEATURE_I2C_HAS_HIGH_DRIVE_SELECTION (1)
620 /* @brief Has double buffering support (register S2). */
621 #define FSL_FEATURE_I2C_HAS_DOUBLE_BUFFERING (1)
622 /* @brief Has double buffer enable. */
623 #define FSL_FEATURE_I2C_HAS_DOUBLE_BUFFER_ENABLE (1)
624 /* @brief I2C0 and I2C1 has shared interrupt vector. */
625 #define FSL_FEATURE_I2C_HAS_SHARED_IRQ0_IRQ1 (1)
626 
627 /* SLCD module features */
628 
629 /* @brief Has Multi Alternate Clock Source (register bit GCR[ATLSOURCE]).  */
630 #define FSL_FEATURE_SLCD_HAS_MULTI_ALTERNATE_CLOCK_SOURCE (0)
631 /* @brief Has fast frame rate (register bit GCR[FFR]). */
632 #define FSL_FEATURE_SLCD_HAS_FAST_FRAME_RATE (0)
633 /* @brief Has frame frequency interrupt (register bit GCR[LCDIEN]). */
634 #define FSL_FEATURE_SLCD_HAS_FRAME_FREQUENCY_INTERRUPT (0)
635 /* @brief Has high reference select (register bit GCR[HREFSEL]). */
636 #define FSL_FEATURE_SLCD_HAS_HIGH_REFERENCE_SELECT (0)
637 /* @brief Has pad safe (register bit GCR[PADSAFE]). */
638 #define FSL_FEATURE_SLCD_HAS_PAD_SAFE (0)
639 /* @brief Has lcd wait (register bit GCR[LCDWAIT]). */
640 #define FSL_FEATURE_SLCD_HAS_LCD_WAIT (0)
641 /* @brief Has lcd doze enable (register bit GCR[LCDDOZE]). */
642 #define FSL_FEATURE_SLCD_HAS_LCD_DOZE_ENABLE (1)
643 /* @brief Total pin number on LCD. */
644 #define FSL_FEATURE_SLCD_HAS_PIN_NUM (64)
645 /* @brief Total phase number on SLCD. */
646 #define FSL_FEATURE_SLCD_HAS_PHASE_NUM (8)
647 
648 /* LLWU module features */
649 
650 #if defined(CPU_MKM35Z256VLL7) || defined(CPU_MKM35Z256VLL7R) || defined(CPU_MKM35Z512VLL7) || defined(CPU_MKM35Z512VLL7R)
651     /* @brief Maximum number of pins (maximal index plus one) connected to LLWU device. */
652     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN (23)
653     /* @brief Has pins 8-15 connected to LLWU device. */
654     #define FSL_FEATURE_LLWU_EXTERNAL_PIN_GROUP2 (1)
655     /* @brief Maximum number of internal modules connected to LLWU device. */
656     #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE (6)
657     /* @brief Number of digital filters. */
658     #define FSL_FEATURE_LLWU_HAS_PIN_FILTER (4)
659     /* @brief Has MF register. */
660     #define FSL_FEATURE_LLWU_HAS_MF (1)
661     /* @brief Has PF register. */
662     #define FSL_FEATURE_LLWU_HAS_PF (1)
663     /* @brief Has possibility to enable reset in low leakage power mode and enable digital filter for RESET pin (register LLWU_RST). */
664     #define FSL_FEATURE_LLWU_HAS_RESET_ENABLE (0)
665     /* @brief Has no internal module wakeup flag register. */
666     #define FSL_FEATURE_LLWU_HAS_NO_INTERNAL_MODULE_WAKEUP_FLAG_REG (0)
667     /* @brief Has external pin 0 connected to LLWU device. */
668     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN0 (1)
669     /* @brief Index of port of external pin. */
670     #define FSL_FEATURE_LLWU_PIN0_GPIO_IDX (GPIOG_IDX)
671     /* @brief Number of external pin port on specified port. */
672     #define FSL_FEATURE_LLWU_PIN0_GPIO_PIN (6)
673     /* @brief Has external pin 1 connected to LLWU device. */
674     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN1 (1)
675     /* @brief Index of port of external pin. */
676     #define FSL_FEATURE_LLWU_PIN1_GPIO_IDX (GPIOG_IDX)
677     /* @brief Number of external pin port on specified port. */
678     #define FSL_FEATURE_LLWU_PIN1_GPIO_PIN (2)
679     /* @brief Has external pin 2 connected to LLWU device. */
680     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN2 (1)
681     /* @brief Index of port of external pin. */
682     #define FSL_FEATURE_LLWU_PIN2_GPIO_IDX (GPIOG_IDX)
683     /* @brief Number of external pin port on specified port. */
684     #define FSL_FEATURE_LLWU_PIN2_GPIO_PIN (1)
685     /* @brief Has external pin 3 connected to LLWU device. */
686     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN3 (1)
687     /* @brief Index of port of external pin. */
688     #define FSL_FEATURE_LLWU_PIN3_GPIO_IDX (GPIOF_IDX)
689     /* @brief Number of external pin port on specified port. */
690     #define FSL_FEATURE_LLWU_PIN3_GPIO_PIN (6)
691     /* @brief Has external pin 4 connected to LLWU device. */
692     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN4 (1)
693     /* @brief Index of port of external pin. */
694     #define FSL_FEATURE_LLWU_PIN4_GPIO_IDX (GPIOF_IDX)
695     /* @brief Number of external pin port on specified port. */
696     #define FSL_FEATURE_LLWU_PIN4_GPIO_PIN (0)
697     /* @brief Has external pin 5 connected to LLWU device. */
698     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN5 (1)
699     /* @brief Index of port of external pin. */
700     #define FSL_FEATURE_LLWU_PIN5_GPIO_IDX (GPIOE_IDX)
701     /* @brief Number of external pin port on specified port. */
702     #define FSL_FEATURE_LLWU_PIN5_GPIO_PIN (6)
703     /* @brief Has external pin 6 connected to LLWU device. */
704     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN6 (1)
705     /* @brief Index of port of external pin. */
706     #define FSL_FEATURE_LLWU_PIN6_GPIO_IDX (GPIOE_IDX)
707     /* @brief Number of external pin port on specified port. */
708     #define FSL_FEATURE_LLWU_PIN6_GPIO_PIN (5)
709     /* @brief Has external pin 7 connected to LLWU device. */
710     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN7 (1)
711     /* @brief Index of port of external pin. */
712     #define FSL_FEATURE_LLWU_PIN7_GPIO_IDX (GPIOD_IDX)
713     /* @brief Number of external pin port on specified port. */
714     #define FSL_FEATURE_LLWU_PIN7_GPIO_PIN (7)
715     /* @brief Has external pin 8 connected to LLWU device. */
716     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN8 (1)
717     /* @brief Index of port of external pin. */
718     #define FSL_FEATURE_LLWU_PIN8_GPIO_IDX (GPIOD_IDX)
719     /* @brief Number of external pin port on specified port. */
720     #define FSL_FEATURE_LLWU_PIN8_GPIO_PIN (6)
721     /* @brief Has external pin 9 connected to LLWU device. */
722     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN9 (1)
723     /* @brief Index of port of external pin. */
724     #define FSL_FEATURE_LLWU_PIN9_GPIO_IDX (GPIOD_IDX)
725     /* @brief Number of external pin port on specified port. */
726     #define FSL_FEATURE_LLWU_PIN9_GPIO_PIN (4)
727     /* @brief Has external pin 10 connected to LLWU device. */
728     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN10 (1)
729     /* @brief Index of port of external pin. */
730     #define FSL_FEATURE_LLWU_PIN10_GPIO_IDX (GPIOD_IDX)
731     /* @brief Number of external pin port on specified port. */
732     #define FSL_FEATURE_LLWU_PIN10_GPIO_PIN (2)
733     /* @brief Has external pin 11 connected to LLWU device. */
734     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN11 (1)
735     /* @brief Index of port of external pin. */
736     #define FSL_FEATURE_LLWU_PIN11_GPIO_IDX (GPIOD_IDX)
737     /* @brief Number of external pin port on specified port. */
738     #define FSL_FEATURE_LLWU_PIN11_GPIO_PIN (0)
739     /* @brief Has external pin 12 connected to LLWU device. */
740     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN12 (1)
741     /* @brief Index of port of external pin. */
742     #define FSL_FEATURE_LLWU_PIN12_GPIO_IDX (GPIOC_IDX)
743     /* @brief Number of external pin port on specified port. */
744     #define FSL_FEATURE_LLWU_PIN12_GPIO_PIN (5)
745     /* @brief Has external pin 13 connected to LLWU device. */
746     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN13 (1)
747     /* @brief Index of port of external pin. */
748     #define FSL_FEATURE_LLWU_PIN13_GPIO_IDX (GPIOC_IDX)
749     /* @brief Number of external pin port on specified port. */
750     #define FSL_FEATURE_LLWU_PIN13_GPIO_PIN (3)
751     /* @brief Has external pin 14 connected to LLWU device. */
752     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN14 (1)
753     /* @brief Index of port of external pin. */
754     #define FSL_FEATURE_LLWU_PIN14_GPIO_IDX (GPIOA_IDX)
755     /* @brief Number of external pin port on specified port. */
756     #define FSL_FEATURE_LLWU_PIN14_GPIO_PIN (6)
757     /* @brief Has external pin 15 connected to LLWU device. */
758     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN15 (1)
759     /* @brief Index of port of external pin. */
760     #define FSL_FEATURE_LLWU_PIN15_GPIO_IDX (GPIOA_IDX)
761     /* @brief Number of external pin port on specified port. */
762     #define FSL_FEATURE_LLWU_PIN15_GPIO_PIN (4)
763     /* @brief Has external pin 16 connected to LLWU device. */
764     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN16 (1)
765     /* @brief Index of port of external pin. */
766     #define FSL_FEATURE_LLWU_PIN16_GPIO_IDX (GPIOA_IDX)
767     /* @brief Number of external pin port on specified port. */
768     #define FSL_FEATURE_LLWU_PIN16_GPIO_PIN (0)
769     /* @brief Has external pin 17 connected to LLWU device. */
770     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN17 (1)
771     /* @brief Index of port of external pin. */
772     #define FSL_FEATURE_LLWU_PIN17_GPIO_IDX (GPIOB_IDX)
773     /* @brief Number of external pin port on specified port. */
774     #define FSL_FEATURE_LLWU_PIN17_GPIO_PIN (1)
775     /* @brief Has external pin 18 connected to LLWU device. */
776     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN18 (0)
777     /* @brief Index of port of external pin. */
778     #define FSL_FEATURE_LLWU_PIN18_GPIO_IDX (0)
779     /* @brief Number of external pin port on specified port. */
780     #define FSL_FEATURE_LLWU_PIN18_GPIO_PIN (0)
781     /* @brief Has external pin 19 connected to LLWU device. */
782     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN19 (0)
783     /* @brief Index of port of external pin. */
784     #define FSL_FEATURE_LLWU_PIN19_GPIO_IDX (0)
785     /* @brief Number of external pin port on specified port. */
786     #define FSL_FEATURE_LLWU_PIN19_GPIO_PIN (0)
787     /* @brief Has external pin 20 connected to LLWU device. */
788     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN20 (1)
789     /* @brief Index of port of external pin. */
790     #define FSL_FEATURE_LLWU_PIN20_GPIO_IDX (GPIOF_IDX)
791     /* @brief Number of external pin port on specified port. */
792     #define FSL_FEATURE_LLWU_PIN20_GPIO_PIN (3)
793     /* @brief Has external pin 21 connected to LLWU device. */
794     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN21 (1)
795     /* @brief Index of port of external pin. */
796     #define FSL_FEATURE_LLWU_PIN21_GPIO_IDX (GPIOI_IDX)
797     /* @brief Number of external pin port on specified port. */
798     #define FSL_FEATURE_LLWU_PIN21_GPIO_PIN (0)
799     /* @brief Has external pin 22 connected to LLWU device. */
800     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN22 (1)
801     /* @brief Index of port of external pin. */
802     #define FSL_FEATURE_LLWU_PIN22_GPIO_IDX (GPIOI_IDX)
803     /* @brief Number of external pin port on specified port. */
804     #define FSL_FEATURE_LLWU_PIN22_GPIO_PIN (2)
805     /* @brief Has external pin 23 connected to LLWU device. */
806     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN23 (0)
807     /* @brief Index of port of external pin. */
808     #define FSL_FEATURE_LLWU_PIN23_GPIO_IDX (0)
809     /* @brief Number of external pin port on specified port. */
810     #define FSL_FEATURE_LLWU_PIN23_GPIO_PIN (0)
811     /* @brief Has external pin 24 connected to LLWU device. */
812     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN24 (0)
813     /* @brief Index of port of external pin. */
814     #define FSL_FEATURE_LLWU_PIN24_GPIO_IDX (0)
815     /* @brief Number of external pin port on specified port. */
816     #define FSL_FEATURE_LLWU_PIN24_GPIO_PIN (0)
817     /* @brief Has external pin 25 connected to LLWU device. */
818     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN25 (0)
819     /* @brief Index of port of external pin. */
820     #define FSL_FEATURE_LLWU_PIN25_GPIO_IDX (0)
821     /* @brief Number of external pin port on specified port. */
822     #define FSL_FEATURE_LLWU_PIN25_GPIO_PIN (0)
823     /* @brief Has external pin 26 connected to LLWU device. */
824     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN26 (0)
825     /* @brief Index of port of external pin. */
826     #define FSL_FEATURE_LLWU_PIN26_GPIO_IDX (0)
827     /* @brief Number of external pin port on specified port. */
828     #define FSL_FEATURE_LLWU_PIN26_GPIO_PIN (0)
829     /* @brief Has external pin 27 connected to LLWU device. */
830     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN27 (0)
831     /* @brief Index of port of external pin. */
832     #define FSL_FEATURE_LLWU_PIN27_GPIO_IDX (0)
833     /* @brief Number of external pin port on specified port. */
834     #define FSL_FEATURE_LLWU_PIN27_GPIO_PIN (0)
835     /* @brief Has external pin 28 connected to LLWU device. */
836     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN28 (0)
837     /* @brief Index of port of external pin. */
838     #define FSL_FEATURE_LLWU_PIN28_GPIO_IDX (0)
839     /* @brief Number of external pin port on specified port. */
840     #define FSL_FEATURE_LLWU_PIN28_GPIO_PIN (0)
841     /* @brief Has external pin 29 connected to LLWU device. */
842     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN29 (0)
843     /* @brief Index of port of external pin. */
844     #define FSL_FEATURE_LLWU_PIN29_GPIO_IDX (0)
845     /* @brief Number of external pin port on specified port. */
846     #define FSL_FEATURE_LLWU_PIN29_GPIO_PIN (0)
847     /* @brief Has external pin 30 connected to LLWU device. */
848     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN30 (0)
849     /* @brief Index of port of external pin. */
850     #define FSL_FEATURE_LLWU_PIN30_GPIO_IDX (0)
851     /* @brief Number of external pin port on specified port. */
852     #define FSL_FEATURE_LLWU_PIN30_GPIO_PIN (0)
853     /* @brief Has external pin 31 connected to LLWU device. */
854     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN31 (0)
855     /* @brief Index of port of external pin. */
856     #define FSL_FEATURE_LLWU_PIN31_GPIO_IDX (0)
857     /* @brief Number of external pin port on specified port. */
858     #define FSL_FEATURE_LLWU_PIN31_GPIO_PIN (0)
859     /* @brief Has internal module 0 connected to LLWU device. */
860     #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE0 (1)
861     /* @brief Has internal module 1 connected to LLWU device. */
862     #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE1 (1)
863     /* @brief Has internal module 2 connected to LLWU device. */
864     #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE2 (1)
865     /* @brief Has internal module 3 connected to LLWU device. */
866     #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE3 (1)
867     /* @brief Has internal module 4 connected to LLWU device. */
868     #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE4 (1)
869     /* @brief Has internal module 5 connected to LLWU device. */
870     #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE5 (1)
871     /* @brief Has internal module 6 connected to LLWU device. */
872     #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE6 (0)
873     /* @brief Has internal module 7 connected to LLWU device. */
874     #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE7 (0)
875     /* @brief Has Version ID Register (LLWU_VERID). */
876     #define FSL_FEATURE_LLWU_HAS_VERID (0)
877     /* @brief Has Parameter Register (LLWU_PARAM). */
878     #define FSL_FEATURE_LLWU_HAS_PARAM (0)
879     /* @brief Width of registers of the LLWU. */
880     #define FSL_FEATURE_LLWU_REG_BITWIDTH (8)
881     /* @brief Has DMA Enable register (LLWU_DE). */
882     #define FSL_FEATURE_LLWU_HAS_DMA_ENABLE_REG (0)
883 #elif defined(CPU_MKM35Z256VLQ7) || defined(CPU_MKM35Z256VLQ7R) || defined(CPU_MKM35Z512VLQ7) || defined(CPU_MKM35Z512VLQ7R)
884     /* @brief Maximum number of pins (maximal index plus one) connected to LLWU device. */
885     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN (24)
886     /* @brief Has pins 8-15 connected to LLWU device. */
887     #define FSL_FEATURE_LLWU_EXTERNAL_PIN_GROUP2 (1)
888     /* @brief Maximum number of internal modules connected to LLWU device. */
889     #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE (6)
890     /* @brief Number of digital filters. */
891     #define FSL_FEATURE_LLWU_HAS_PIN_FILTER (4)
892     /* @brief Has MF register. */
893     #define FSL_FEATURE_LLWU_HAS_MF (1)
894     /* @brief Has PF register. */
895     #define FSL_FEATURE_LLWU_HAS_PF (1)
896     /* @brief Has possibility to enable reset in low leakage power mode and enable digital filter for RESET pin (register LLWU_RST). */
897     #define FSL_FEATURE_LLWU_HAS_RESET_ENABLE (0)
898     /* @brief Has no internal module wakeup flag register. */
899     #define FSL_FEATURE_LLWU_HAS_NO_INTERNAL_MODULE_WAKEUP_FLAG_REG (0)
900     /* @brief Has external pin 0 connected to LLWU device. */
901     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN0 (1)
902     /* @brief Index of port of external pin. */
903     #define FSL_FEATURE_LLWU_PIN0_GPIO_IDX (GPIOG_IDX)
904     /* @brief Number of external pin port on specified port. */
905     #define FSL_FEATURE_LLWU_PIN0_GPIO_PIN (6)
906     /* @brief Has external pin 1 connected to LLWU device. */
907     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN1 (1)
908     /* @brief Index of port of external pin. */
909     #define FSL_FEATURE_LLWU_PIN1_GPIO_IDX (GPIOG_IDX)
910     /* @brief Number of external pin port on specified port. */
911     #define FSL_FEATURE_LLWU_PIN1_GPIO_PIN (2)
912     /* @brief Has external pin 2 connected to LLWU device. */
913     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN2 (1)
914     /* @brief Index of port of external pin. */
915     #define FSL_FEATURE_LLWU_PIN2_GPIO_IDX (GPIOG_IDX)
916     /* @brief Number of external pin port on specified port. */
917     #define FSL_FEATURE_LLWU_PIN2_GPIO_PIN (1)
918     /* @brief Has external pin 3 connected to LLWU device. */
919     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN3 (1)
920     /* @brief Index of port of external pin. */
921     #define FSL_FEATURE_LLWU_PIN3_GPIO_IDX (GPIOF_IDX)
922     /* @brief Number of external pin port on specified port. */
923     #define FSL_FEATURE_LLWU_PIN3_GPIO_PIN (6)
924     /* @brief Has external pin 4 connected to LLWU device. */
925     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN4 (1)
926     /* @brief Index of port of external pin. */
927     #define FSL_FEATURE_LLWU_PIN4_GPIO_IDX (GPIOF_IDX)
928     /* @brief Number of external pin port on specified port. */
929     #define FSL_FEATURE_LLWU_PIN4_GPIO_PIN (0)
930     /* @brief Has external pin 5 connected to LLWU device. */
931     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN5 (1)
932     /* @brief Index of port of external pin. */
933     #define FSL_FEATURE_LLWU_PIN5_GPIO_IDX (GPIOE_IDX)
934     /* @brief Number of external pin port on specified port. */
935     #define FSL_FEATURE_LLWU_PIN5_GPIO_PIN (6)
936     /* @brief Has external pin 6 connected to LLWU device. */
937     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN6 (1)
938     /* @brief Index of port of external pin. */
939     #define FSL_FEATURE_LLWU_PIN6_GPIO_IDX (GPIOE_IDX)
940     /* @brief Number of external pin port on specified port. */
941     #define FSL_FEATURE_LLWU_PIN6_GPIO_PIN (5)
942     /* @brief Has external pin 7 connected to LLWU device. */
943     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN7 (1)
944     /* @brief Index of port of external pin. */
945     #define FSL_FEATURE_LLWU_PIN7_GPIO_IDX (GPIOD_IDX)
946     /* @brief Number of external pin port on specified port. */
947     #define FSL_FEATURE_LLWU_PIN7_GPIO_PIN (7)
948     /* @brief Has external pin 8 connected to LLWU device. */
949     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN8 (1)
950     /* @brief Index of port of external pin. */
951     #define FSL_FEATURE_LLWU_PIN8_GPIO_IDX (GPIOD_IDX)
952     /* @brief Number of external pin port on specified port. */
953     #define FSL_FEATURE_LLWU_PIN8_GPIO_PIN (6)
954     /* @brief Has external pin 9 connected to LLWU device. */
955     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN9 (1)
956     /* @brief Index of port of external pin. */
957     #define FSL_FEATURE_LLWU_PIN9_GPIO_IDX (GPIOD_IDX)
958     /* @brief Number of external pin port on specified port. */
959     #define FSL_FEATURE_LLWU_PIN9_GPIO_PIN (4)
960     /* @brief Has external pin 10 connected to LLWU device. */
961     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN10 (1)
962     /* @brief Index of port of external pin. */
963     #define FSL_FEATURE_LLWU_PIN10_GPIO_IDX (GPIOD_IDX)
964     /* @brief Number of external pin port on specified port. */
965     #define FSL_FEATURE_LLWU_PIN10_GPIO_PIN (2)
966     /* @brief Has external pin 11 connected to LLWU device. */
967     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN11 (1)
968     /* @brief Index of port of external pin. */
969     #define FSL_FEATURE_LLWU_PIN11_GPIO_IDX (GPIOD_IDX)
970     /* @brief Number of external pin port on specified port. */
971     #define FSL_FEATURE_LLWU_PIN11_GPIO_PIN (0)
972     /* @brief Has external pin 12 connected to LLWU device. */
973     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN12 (1)
974     /* @brief Index of port of external pin. */
975     #define FSL_FEATURE_LLWU_PIN12_GPIO_IDX (GPIOC_IDX)
976     /* @brief Number of external pin port on specified port. */
977     #define FSL_FEATURE_LLWU_PIN12_GPIO_PIN (5)
978     /* @brief Has external pin 13 connected to LLWU device. */
979     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN13 (1)
980     /* @brief Index of port of external pin. */
981     #define FSL_FEATURE_LLWU_PIN13_GPIO_IDX (GPIOC_IDX)
982     /* @brief Number of external pin port on specified port. */
983     #define FSL_FEATURE_LLWU_PIN13_GPIO_PIN (3)
984     /* @brief Has external pin 14 connected to LLWU device. */
985     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN14 (1)
986     /* @brief Index of port of external pin. */
987     #define FSL_FEATURE_LLWU_PIN14_GPIO_IDX (GPIOA_IDX)
988     /* @brief Number of external pin port on specified port. */
989     #define FSL_FEATURE_LLWU_PIN14_GPIO_PIN (6)
990     /* @brief Has external pin 15 connected to LLWU device. */
991     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN15 (1)
992     /* @brief Index of port of external pin. */
993     #define FSL_FEATURE_LLWU_PIN15_GPIO_IDX (GPIOA_IDX)
994     /* @brief Number of external pin port on specified port. */
995     #define FSL_FEATURE_LLWU_PIN15_GPIO_PIN (4)
996     /* @brief Has external pin 16 connected to LLWU device. */
997     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN16 (1)
998     /* @brief Index of port of external pin. */
999     #define FSL_FEATURE_LLWU_PIN16_GPIO_IDX (GPIOA_IDX)
1000     /* @brief Number of external pin port on specified port. */
1001     #define FSL_FEATURE_LLWU_PIN16_GPIO_PIN (0)
1002     /* @brief Has external pin 17 connected to LLWU device. */
1003     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN17 (1)
1004     /* @brief Index of port of external pin. */
1005     #define FSL_FEATURE_LLWU_PIN17_GPIO_IDX (GPIOB_IDX)
1006     /* @brief Number of external pin port on specified port. */
1007     #define FSL_FEATURE_LLWU_PIN17_GPIO_PIN (1)
1008     /* @brief Has external pin 18 connected to LLWU device. */
1009     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN18 (1)
1010     /* @brief Index of port of external pin. */
1011     #define FSL_FEATURE_LLWU_PIN18_GPIO_IDX (GPIOJ_IDX)
1012     /* @brief Number of external pin port on specified port. */
1013     #define FSL_FEATURE_LLWU_PIN18_GPIO_PIN (6)
1014     /* @brief Has external pin 19 connected to LLWU device. */
1015     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN19 (1)
1016     /* @brief Index of port of external pin. */
1017     #define FSL_FEATURE_LLWU_PIN19_GPIO_IDX (GPIOK_IDX)
1018     /* @brief Number of external pin port on specified port. */
1019     #define FSL_FEATURE_LLWU_PIN19_GPIO_PIN (3)
1020     /* @brief Has external pin 20 connected to LLWU device. */
1021     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN20 (1)
1022     /* @brief Index of port of external pin. */
1023     #define FSL_FEATURE_LLWU_PIN20_GPIO_IDX (GPIOF_IDX)
1024     /* @brief Number of external pin port on specified port. */
1025     #define FSL_FEATURE_LLWU_PIN20_GPIO_PIN (3)
1026     /* @brief Has external pin 21 connected to LLWU device. */
1027     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN21 (1)
1028     /* @brief Index of port of external pin. */
1029     #define FSL_FEATURE_LLWU_PIN21_GPIO_IDX (GPIOI_IDX)
1030     /* @brief Number of external pin port on specified port. */
1031     #define FSL_FEATURE_LLWU_PIN21_GPIO_PIN (0)
1032     /* @brief Has external pin 22 connected to LLWU device. */
1033     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN22 (1)
1034     /* @brief Index of port of external pin. */
1035     #define FSL_FEATURE_LLWU_PIN22_GPIO_IDX (GPIOI_IDX)
1036     /* @brief Number of external pin port on specified port. */
1037     #define FSL_FEATURE_LLWU_PIN22_GPIO_PIN (2)
1038     /* @brief Has external pin 23 connected to LLWU device. */
1039     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN23 (1)
1040     /* @brief Index of port of external pin. */
1041     #define FSL_FEATURE_LLWU_PIN23_GPIO_IDX (GPIOL_IDX)
1042     /* @brief Number of external pin port on specified port. */
1043     #define FSL_FEATURE_LLWU_PIN23_GPIO_PIN (5)
1044     /* @brief Has external pin 24 connected to LLWU device. */
1045     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN24 (0)
1046     /* @brief Index of port of external pin. */
1047     #define FSL_FEATURE_LLWU_PIN24_GPIO_IDX (0)
1048     /* @brief Number of external pin port on specified port. */
1049     #define FSL_FEATURE_LLWU_PIN24_GPIO_PIN (0)
1050     /* @brief Has external pin 25 connected to LLWU device. */
1051     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN25 (0)
1052     /* @brief Index of port of external pin. */
1053     #define FSL_FEATURE_LLWU_PIN25_GPIO_IDX (0)
1054     /* @brief Number of external pin port on specified port. */
1055     #define FSL_FEATURE_LLWU_PIN25_GPIO_PIN (0)
1056     /* @brief Has external pin 26 connected to LLWU device. */
1057     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN26 (0)
1058     /* @brief Index of port of external pin. */
1059     #define FSL_FEATURE_LLWU_PIN26_GPIO_IDX (0)
1060     /* @brief Number of external pin port on specified port. */
1061     #define FSL_FEATURE_LLWU_PIN26_GPIO_PIN (0)
1062     /* @brief Has external pin 27 connected to LLWU device. */
1063     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN27 (0)
1064     /* @brief Index of port of external pin. */
1065     #define FSL_FEATURE_LLWU_PIN27_GPIO_IDX (0)
1066     /* @brief Number of external pin port on specified port. */
1067     #define FSL_FEATURE_LLWU_PIN27_GPIO_PIN (0)
1068     /* @brief Has external pin 28 connected to LLWU device. */
1069     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN28 (0)
1070     /* @brief Index of port of external pin. */
1071     #define FSL_FEATURE_LLWU_PIN28_GPIO_IDX (0)
1072     /* @brief Number of external pin port on specified port. */
1073     #define FSL_FEATURE_LLWU_PIN28_GPIO_PIN (0)
1074     /* @brief Has external pin 29 connected to LLWU device. */
1075     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN29 (0)
1076     /* @brief Index of port of external pin. */
1077     #define FSL_FEATURE_LLWU_PIN29_GPIO_IDX (0)
1078     /* @brief Number of external pin port on specified port. */
1079     #define FSL_FEATURE_LLWU_PIN29_GPIO_PIN (0)
1080     /* @brief Has external pin 30 connected to LLWU device. */
1081     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN30 (0)
1082     /* @brief Index of port of external pin. */
1083     #define FSL_FEATURE_LLWU_PIN30_GPIO_IDX (0)
1084     /* @brief Number of external pin port on specified port. */
1085     #define FSL_FEATURE_LLWU_PIN30_GPIO_PIN (0)
1086     /* @brief Has external pin 31 connected to LLWU device. */
1087     #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN31 (0)
1088     /* @brief Index of port of external pin. */
1089     #define FSL_FEATURE_LLWU_PIN31_GPIO_IDX (0)
1090     /* @brief Number of external pin port on specified port. */
1091     #define FSL_FEATURE_LLWU_PIN31_GPIO_PIN (0)
1092     /* @brief Has internal module 0 connected to LLWU device. */
1093     #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE0 (1)
1094     /* @brief Has internal module 1 connected to LLWU device. */
1095     #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE1 (1)
1096     /* @brief Has internal module 2 connected to LLWU device. */
1097     #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE2 (1)
1098     /* @brief Has internal module 3 connected to LLWU device. */
1099     #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE3 (1)
1100     /* @brief Has internal module 4 connected to LLWU device. */
1101     #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE4 (1)
1102     /* @brief Has internal module 5 connected to LLWU device. */
1103     #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE5 (1)
1104     /* @brief Has internal module 6 connected to LLWU device. */
1105     #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE6 (0)
1106     /* @brief Has internal module 7 connected to LLWU device. */
1107     #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE7 (0)
1108     /* @brief Has Version ID Register (LLWU_VERID). */
1109     #define FSL_FEATURE_LLWU_HAS_VERID (0)
1110     /* @brief Has Parameter Register (LLWU_PARAM). */
1111     #define FSL_FEATURE_LLWU_HAS_PARAM (0)
1112     /* @brief Width of registers of the LLWU. */
1113     #define FSL_FEATURE_LLWU_REG_BITWIDTH (8)
1114     /* @brief Has DMA Enable register (LLWU_DE). */
1115     #define FSL_FEATURE_LLWU_HAS_DMA_ENABLE_REG (0)
1116 #endif /* defined(CPU_MKM35Z256VLL7) || defined(CPU_MKM35Z256VLL7R) || defined(CPU_MKM35Z512VLL7) || defined(CPU_MKM35Z512VLL7R) */
1117 
1118 /* LPTMR module features */
1119 
1120 /* @brief Has shared interrupt handler with another LPTMR module. */
1121 #define FSL_FEATURE_LPTMR_HAS_SHARED_IRQ_HANDLER (1)
1122 /* @brief Whether LPTMR counter is 32 bits width. */
1123 #define FSL_FEATURE_LPTMR_CNR_WIDTH_IS_32B (0)
1124 /* @brief Has timer DMA request enable (register bit CSR[TDRE]). */
1125 #define FSL_FEATURE_LPTMR_HAS_CSR_TDRE (0)
1126 
1127 /* LPUART module features */
1128 
1129 /* @brief LPUART0 and LPUART1 has shared interrupt vector. */
1130 #define FSL_FEATURE_LPUART_HAS_SHARED_IRQ0_IRQ1 (0)
1131 /* @brief Has receive FIFO overflow detection (bit field CFIFO[RXOFE]). */
1132 #define FSL_FEATURE_LPUART_HAS_IRQ_EXTENDED_FUNCTIONS (0)
1133 /* @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). */
1134 #define FSL_FEATURE_LPUART_HAS_LOW_POWER_UART_SUPPORT (1)
1135 /* @brief Has extended data register ED (or extra flags in the DATA register if the registers are 32-bit wide). */
1136 #define FSL_FEATURE_LPUART_HAS_EXTENDED_DATA_REGISTER_FLAGS (1)
1137 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
1138 #define FSL_FEATURE_LPUART_HAS_FIFO (1)
1139 /* @brief Has 32-bit register MODIR */
1140 #define FSL_FEATURE_LPUART_HAS_MODIR (1)
1141 /* @brief Hardware flow control (RTS, CTS) is supported. */
1142 #define FSL_FEATURE_LPUART_HAS_MODEM_SUPPORT (1)
1143 /* @brief Infrared (modulation) is supported. */
1144 #define FSL_FEATURE_LPUART_HAS_IR_SUPPORT (1)
1145 /* @brief 2 bits long stop bit is available. */
1146 #define FSL_FEATURE_LPUART_HAS_STOP_BIT_CONFIG_SUPPORT (1)
1147 /* @brief If 10-bit mode is supported. */
1148 #define FSL_FEATURE_LPUART_HAS_10BIT_DATA_SUPPORT (1)
1149 /* @brief If 7-bit mode is supported. */
1150 #define FSL_FEATURE_LPUART_HAS_7BIT_DATA_SUPPORT (0)
1151 /* @brief Baud rate fine adjustment is available. */
1152 #define FSL_FEATURE_LPUART_HAS_BAUD_RATE_FINE_ADJUST_SUPPORT (0)
1153 /* @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). */
1154 #define FSL_FEATURE_LPUART_HAS_BAUD_RATE_OVER_SAMPLING_SUPPORT (1)
1155 /* @brief Baud rate oversampling is available. */
1156 #define FSL_FEATURE_LPUART_HAS_RX_RESYNC_SUPPORT (1)
1157 /* @brief Baud rate oversampling is available. */
1158 #define FSL_FEATURE_LPUART_HAS_BOTH_EDGE_SAMPLING_SUPPORT (1)
1159 /* @brief Peripheral type. */
1160 #define FSL_FEATURE_LPUART_IS_SCI (1)
1161 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
1162 #define FSL_FEATURE_LPUART_FIFO_SIZEn(x) (8)
1163 /* @brief Supports two match addresses to filter incoming frames. */
1164 #define FSL_FEATURE_LPUART_HAS_ADDRESS_MATCHING (1)
1165 /* @brief Has transmitter/receiver DMA enable bits C5[TDMAE]/C5[RDMAE] (or BAUD[TDMAE]/BAUD[RDMAE] if the registers are 32-bit wide). */
1166 #define FSL_FEATURE_LPUART_HAS_DMA_ENABLE (1)
1167 /* @brief Has transmitter/receiver DMA select bits C4[TDMAS]/C4[RDMAS], resp. C5[TDMAS]/C5[RDMAS] if IS_SCI = 0. */
1168 #define FSL_FEATURE_LPUART_HAS_DMA_SELECT (0)
1169 /* @brief Data character bit order selection is supported (bit field S2[MSBF] or STAT[MSBF] if the registers are 32-bit wide). */
1170 #define FSL_FEATURE_LPUART_HAS_BIT_ORDER_SELECT (1)
1171 /* @brief Has smart card (ISO7816 protocol) support and no improved smart card support. */
1172 #define FSL_FEATURE_LPUART_HAS_SMART_CARD_SUPPORT (0)
1173 /* @brief Has improved smart card (ISO7816 protocol) support. */
1174 #define FSL_FEATURE_LPUART_HAS_IMPROVED_SMART_CARD_SUPPORT (0)
1175 /* @brief Has local operation network (CEA709.1-B protocol) support. */
1176 #define FSL_FEATURE_LPUART_HAS_LOCAL_OPERATION_NETWORK_SUPPORT (0)
1177 /* @brief Has 32-bit registers (BAUD, STAT, CTRL, DATA, MATCH, MODIR) instead of 8-bit (BDH, BDL, C1, S1, D, etc.). */
1178 #define FSL_FEATURE_LPUART_HAS_32BIT_REGISTERS (1)
1179 /* @brief Lin break detect available (has bit BAUD[LBKDIE]). */
1180 #define FSL_FEATURE_LPUART_HAS_LIN_BREAK_DETECT (1)
1181 /* @brief UART stops in Wait mode available (has bit C1[UARTSWAI]). */
1182 #define FSL_FEATURE_LPUART_HAS_WAIT_MODE_OPERATION (0)
1183 /* @brief Has separate DMA RX and TX requests. */
1184 #define FSL_FEATURE_LPUART_HAS_SEPARATE_DMA_RX_TX_REQn(x) (1)
1185 /* @brief Has separate RX and TX interrupts. */
1186 #define FSL_FEATURE_LPUART_HAS_SEPARATE_RX_TX_IRQ (0)
1187 /* @brief Has LPAURT_PARAM. */
1188 #define FSL_FEATURE_LPUART_HAS_PARAM (0)
1189 /* @brief Has LPUART_VERID. */
1190 #define FSL_FEATURE_LPUART_HAS_VERID (0)
1191 /* @brief Has LPUART_GLOBAL. */
1192 #define FSL_FEATURE_LPUART_HAS_GLOBAL (0)
1193 /* @brief Has LPUART_PINCFG. */
1194 #define FSL_FEATURE_LPUART_HAS_PINCFG (0)
1195 
1196 /* MCG module features */
1197 
1198 /* @brief PRDIV base value (divider of register bit field [PRDIV] zero value). */
1199 #define FSL_FEATURE_MCG_PLL_PRDIV_BASE (0)
1200 /* @brief Maximum PLL external reference divider value (max. value of register bit field C5[PRVDIV]). */
1201 #define FSL_FEATURE_MCG_PLL_PRDIV_MAX (0)
1202 /* @brief VCO divider base value (multiply factor of register bit field C6[VDIV] zero value). */
1203 #define FSL_FEATURE_MCG_PLL_VDIV_BASE (0)
1204 /* @brief PLL reference clock low range. OSCCLK/PLL_R. */
1205 #define FSL_FEATURE_MCG_PLL_REF_MIN (0)
1206 /* @brief PLL reference clock high range. OSCCLK/PLL_R. */
1207 #define FSL_FEATURE_MCG_PLL_REF_MAX (0)
1208 /* @brief The PLL clock is divided by 2 before VCO divider. */
1209 #define FSL_FEATURE_MCG_HAS_PLL_INTERNAL_DIV (0)
1210 /* @brief FRDIV supports 1280. */
1211 #define FSL_FEATURE_MCG_FRDIV_SUPPORT_1280 (1)
1212 /* @brief FRDIV supports 1536. */
1213 #define FSL_FEATURE_MCG_FRDIV_SUPPORT_1536 (1)
1214 /* @brief MCGFFCLK divider. */
1215 #define FSL_FEATURE_MCG_FFCLK_DIV (1)
1216 /* @brief Is PLL clock divided by 2 before MCG PLL/FLL clock selection in the SIM module. */
1217 #define FSL_FEATURE_MCG_HAS_PLL_EXTRA_DIV (0)
1218 /* @brief Has 32kHz RTC external reference clock (register bits C8[LOCS1], C8[CME1], C8[LOCRE1] and RTC module are present). */
1219 #define FSL_FEATURE_MCG_HAS_RTC_32K (1)
1220 /* @brief Has PLL1 external reference clock (registers C10, C11, C12, S2). */
1221 #define FSL_FEATURE_MCG_HAS_PLL1 (0)
1222 /* @brief Has 48MHz internal oscillator. */
1223 #define FSL_FEATURE_MCG_HAS_IRC_48M (0)
1224 /* @brief Has OSC1 external oscillator (registers C10, C11, C12, S2). */
1225 #define FSL_FEATURE_MCG_HAS_OSC1 (0)
1226 /* @brief Has fast internal reference clock fine trim (register bit C2[FCFTRIM]). */
1227 #define FSL_FEATURE_MCG_HAS_FCFTRIM (0)
1228 /* @brief Has PLL loss of lock reset (register bit C8[LOLRE]). */
1229 #define FSL_FEATURE_MCG_HAS_LOLRE (1)
1230 /* @brief Has MCG OSC clock selection (register bit C7[OSCSEL]). */
1231 #define FSL_FEATURE_MCG_USE_OSCSEL (1)
1232 /* @brief Has PLL external reference selection (register bits C5[PLLREFSEL0] and C11[PLLREFSEL1]). */
1233 #define FSL_FEATURE_MCG_USE_PLLREFSEL (0)
1234 /* @brief TBD */
1235 #define FSL_FEATURE_MCG_USE_SYSTEM_CLOCK (0)
1236 /* @brief Has phase-locked loop (PLL) (register C5 and bits C6[VDIV], C6[PLLS], C6[LOLIE0], S[PLLST], S[LOCK0], S[LOLS0]). */
1237 #define FSL_FEATURE_MCG_HAS_PLL (1)
1238 /* @brief Has phase-locked loop (PLL) PRDIV (register C5[PRDIV]. */
1239 #define FSL_FEATURE_MCG_HAS_PLL_PRDIV (0)
1240 /* @brief Has phase-locked loop (PLL) VDIV (register C6[VDIV]. */
1241 #define FSL_FEATURE_MCG_HAS_PLL_VDIV (0)
1242 /* @brief PLL/OSC related register bit fields have PLL/OSC index in their name. */
1243 #define FSL_FEATURE_MCG_HAS_PLL_OSC_INDEX (1)
1244 /* @brief Has frequency-locked loop (FLL) (register ATCVH, ATCVL and bits C1[IREFS], C1[FRDIV]). */
1245 #define FSL_FEATURE_MCG_HAS_FLL (1)
1246 /* @brief Has PLL external to MCG (C9[PLL_CME], C9[PLL_LOCRE], C9[EXT_PLL_LOCS]). */
1247 #define FSL_FEATURE_MCG_HAS_EXTERNAL_PLL (0)
1248 /* @brief Has crystal oscillator or external reference clock low power controls (register bits C2[HGO], C2[RANGE]). */
1249 #define FSL_FEATURE_MCG_HAS_EXT_REF_LOW_POWER_CONTROL (1)
1250 /* @brief Has PLL/FLL selection as MCG output (register bit C6[PLLS]). */
1251 #define FSL_FEATURE_MCG_HAS_PLL_FLL_SELECTION (1)
1252 /* @brief Has PLL output selection (PLL0/PLL1, PLL/external PLL) (register bit C11[PLLCS]). */
1253 #define FSL_FEATURE_MCG_HAS_PLL_OUTPUT_SELECTION (0)
1254 /* @brief Has automatic trim machine (registers ATCVH, ATCVL and bits SC[ATMF], SC[ATMS], SC[ATME]). */
1255 #define FSL_FEATURE_MCG_HAS_AUTO_TRIM_MACHINE (1)
1256 /* @brief Has external clock monitor (register bit C6[CME]). */
1257 #define FSL_FEATURE_MCG_HAS_EXTERNAL_CLOCK_MONITOR (1)
1258 /* @brief Has low frequency internal reference clock (IRC) (registers LTRIMRNG, LFRIM, LSTRIM and bit MC[LIRC_DIV2]). */
1259 #define FSL_FEATURE_MCG_HAS_LOW_FREQ_IRC (0)
1260 /* @brief Has high frequency internal reference clock (IRC) (registers HCTRIM, HTTRIM, HFTRIM and bit MC[HIRCEN]). */
1261 #define FSL_FEATURE_MCG_HAS_HIGH_FREQ_IRC (0)
1262 /* @brief Has PEI mode or PBI mode. */
1263 #define FSL_FEATURE_MCG_HAS_PLL_INTERNAL_MODE (1)
1264 /* @brief Reset clock mode is BLPI. */
1265 #define FSL_FEATURE_MCG_RESET_IS_BLPI (1)
1266 
1267 /* interrupt module features */
1268 
1269 /* @brief Lowest interrupt request number. */
1270 #define FSL_FEATURE_INTERRUPT_IRQ_MIN (-14)
1271 /* @brief Highest interrupt request number. */
1272 #define FSL_FEATURE_INTERRUPT_IRQ_MAX (31)
1273 
1274 /* OSC module features */
1275 
1276 /* @brief Has OSC1 external oscillator. */
1277 #define FSL_FEATURE_OSC_HAS_OSC1 (0)
1278 /* @brief Has OSC0 external oscillator. */
1279 #define FSL_FEATURE_OSC_HAS_OSC0 (0)
1280 /* @brief Has OSC external oscillator (without index). */
1281 #define FSL_FEATURE_OSC_HAS_OSC (0)
1282 /* @brief Number of OSC external oscillators. */
1283 #define FSL_FEATURE_OSC_OSC_COUNT (0)
1284 /* @brief Has external reference clock divider (register bit field DIV[ERPS]). */
1285 #define FSL_FEATURE_OSC_HAS_EXT_REF_CLOCK_DIVIDER (0)
1286 
1287 /* PDB module features */
1288 
1289 /* @brief Has DAC support. */
1290 #define FSL_FEATURE_PDB_HAS_DAC (0)
1291 /* @brief Has shared interrupt handler (has not individual interrupt handler for each channel). */
1292 #define FSL_FEATURE_PDB_HAS_SHARED_IRQ_HANDLER (0)
1293 /* @brief PDB channel number). */
1294 #define FSL_FEATURE_PDB_CHANNEL_COUNT (1)
1295 /* @brief Channel pre-trigger nunmber (related to number of registers CHmDLYn). */
1296 #define FSL_FEATURE_PDB_CHANNEL_PRE_TRIGGER_COUNT (4)
1297 /* @brief DAC interval trigger number). */
1298 #define FSL_FEATURE_PDB_DAC_INTERVAL_TRIGGER_COUNT (0)
1299 /* @brief Pulse out number). */
1300 #define FSL_FEATURE_PDB_PULSE_OUT_COUNT (1)
1301 
1302 /* PIT module features */
1303 
1304 /* @brief Number of channels (related to number of registers LDVALn, CVALn, TCTRLn, TFLGn). */
1305 #define FSL_FEATURE_PIT_TIMER_COUNT (2)
1306 /* @brief Has lifetime timer (related to existence of registers LTMR64L and LTMR64H). */
1307 #define FSL_FEATURE_PIT_HAS_LIFETIME_TIMER (1)
1308 /* @brief Has chain mode (related to existence of register bit field TCTRLn[CHN]). */
1309 #define FSL_FEATURE_PIT_HAS_CHAIN_MODE (1)
1310 /* @brief Has shared interrupt handler (has not individual interrupt handler for each channel). */
1311 #define FSL_FEATURE_PIT_HAS_SHARED_IRQ_HANDLER (1)
1312 /* @brief Has timer enable control. */
1313 #define FSL_FEATURE_PIT_HAS_MDIS (1)
1314 
1315 /* PMC module features */
1316 
1317 /* @brief Has Bandgap Enable In VLPx Operation support. */
1318 #define FSL_FEATURE_PMC_HAS_BGEN (1)
1319 /* @brief Has Bandgap Buffer Enable. */
1320 #define FSL_FEATURE_PMC_HAS_BGBE (1)
1321 /* @brief Has Bandgap Buffer Drive Select. */
1322 #define FSL_FEATURE_PMC_HAS_BGBDS (0)
1323 /* @brief Has Low-Voltage Detect Voltage Select support. */
1324 #define FSL_FEATURE_PMC_HAS_LVDV (1)
1325 /* @brief Has Low-Voltage Warning Voltage Select support. */
1326 #define FSL_FEATURE_PMC_HAS_LVWV (1)
1327 /* @brief Has LPO. */
1328 #define FSL_FEATURE_PMC_HAS_LPO (0)
1329 /* @brief Has VLPx option PMC_REGSC[VLPO]. */
1330 #define FSL_FEATURE_PMC_HAS_VLPO (0)
1331 /* @brief Has acknowledge isolation support. */
1332 #define FSL_FEATURE_PMC_HAS_ACKISO (1)
1333 /* @brief Has Regulator In Full Performance Mode Status Bit PMC_REGSC[REGFPM]. */
1334 #define FSL_FEATURE_PMC_HAS_REGFPM (0)
1335 /* @brief Has Regulator In Run Regulation Status Bit PMC_REGSC[REGONS]. */
1336 #define FSL_FEATURE_PMC_HAS_REGONS (1)
1337 /* @brief Has PMC_HVDSC1. */
1338 #define FSL_FEATURE_PMC_HAS_HVDSC1 (0)
1339 /* @brief Has PMC_PARAM. */
1340 #define FSL_FEATURE_PMC_HAS_PARAM (0)
1341 /* @brief Has PMC_VERID. */
1342 #define FSL_FEATURE_PMC_HAS_VERID (0)
1343 
1344 /* PORT module features */
1345 
1346 /* @brief Has control lock (register bit PCR[LK]). */
1347 #define FSL_FEATURE_PORT_HAS_PIN_CONTROL_LOCK (1)
1348 /* @brief Has open drain control (register bit PCR[ODE]). */
1349 #define FSL_FEATURE_PORT_HAS_OPEN_DRAIN (1)
1350 /* @brief Has digital filter (registers DFER, DFCR and DFWR). */
1351 #define FSL_FEATURE_PORT_HAS_DIGITAL_FILTER (1)
1352 /* @brief Has DMA request (register bit field PCR[IRQC] values). */
1353 #define FSL_FEATURE_PORT_HAS_DMA_REQUEST (1)
1354 /* @brief Has pull resistor selection available. */
1355 #define FSL_FEATURE_PORT_HAS_PULL_SELECTION (1)
1356 /* @brief Has pull resistor enable (register bit PCR[PE]). */
1357 #define FSL_FEATURE_PORT_HAS_PULL_ENABLE (1)
1358 /* @brief Has slew rate control (register bit PCR[SRE]). */
1359 #define FSL_FEATURE_PORT_HAS_SLEW_RATE (1)
1360 /* @brief Has passive filter (register bit field PCR[PFE]). */
1361 #define FSL_FEATURE_PORT_HAS_PASSIVE_FILTER (0)
1362 /* @brief Has drive strength control (register bit PCR[DSE]). */
1363 #define FSL_FEATURE_PORT_HAS_DRIVE_STRENGTH (0)
1364 /* @brief Has separate drive strength register (HDRVE). */
1365 #define FSL_FEATURE_PORT_HAS_DRIVE_STRENGTH_REGISTER (0)
1366 /* @brief Has glitch filter (register IOFLT). */
1367 #define FSL_FEATURE_PORT_HAS_GLITCH_FILTER (0)
1368 /* @brief Defines width of PCR[MUX] field. */
1369 #define FSL_FEATURE_PORT_PCR_MUX_WIDTH (3)
1370 /* @brief Has dedicated interrupt vector. */
1371 #define FSL_FEATURE_PORT_HAS_INTERRUPT_VECTOR (1)
1372 /* @brief Has multiple pin IRQ configuration (register GICLR and GICHR). */
1373 #define FSL_FEATURE_PORT_HAS_MULTIPLE_IRQ_CONFIG (0)
1374 /* @brief Defines whether PCR[IRQC] bit-field has flag states. */
1375 #define FSL_FEATURE_PORT_HAS_IRQC_FLAG (0)
1376 /* @brief Defines whether PCR[IRQC] bit-field has trigger states. */
1377 #define FSL_FEATURE_PORT_HAS_IRQC_TRIGGER (0)
1378 
1379 /* RCM module features */
1380 
1381 /* @brief Has Loss-of-Lock Reset support. */
1382 #define FSL_FEATURE_RCM_HAS_LOL (1)
1383 /* @brief Has Loss-of-Clock Reset support. */
1384 #define FSL_FEATURE_RCM_HAS_LOC (1)
1385 /* @brief Has JTAG generated Reset support. */
1386 #define FSL_FEATURE_RCM_HAS_JTAG (0)
1387 /* @brief Has EzPort generated Reset support. */
1388 #define FSL_FEATURE_RCM_HAS_EZPORT (0)
1389 /* @brief Has bit-field indicating EZP_MS_B pin state during last reset. */
1390 #define FSL_FEATURE_RCM_HAS_EZPMS (0)
1391 /* @brief Has boot ROM configuration, MR[BOOTROM], FM[FORCEROM] */
1392 #define FSL_FEATURE_RCM_HAS_BOOTROM (0)
1393 /* @brief Has sticky system reset status register RCM_SSRS0 and RCM_SSRS1. */
1394 #define FSL_FEATURE_RCM_HAS_SSRS (1)
1395 /* @brief Has Version ID Register (RCM_VERID). */
1396 #define FSL_FEATURE_RCM_HAS_VERID (0)
1397 /* @brief Has Parameter Register (RCM_PARAM). */
1398 #define FSL_FEATURE_RCM_HAS_PARAM (0)
1399 /* @brief Has Reset Interrupt Enable Register RCM_SRIE. */
1400 #define FSL_FEATURE_RCM_HAS_SRIE (0)
1401 /* @brief Width of registers of the RCM. */
1402 #define FSL_FEATURE_RCM_REG_WIDTH (8)
1403 /* @brief Has Core 1 generated Reset support RCM_SRS[CORE1] */
1404 #define FSL_FEATURE_RCM_HAS_CORE1 (0)
1405 /* @brief Has MDM-AP system reset support RCM_SRS1[MDM_AP] */
1406 #define FSL_FEATURE_RCM_HAS_MDM_AP (1)
1407 /* @brief Has wakeup reset feature. Register bit SRS[WAKEUP]. */
1408 #define FSL_FEATURE_RCM_HAS_WAKEUP (1)
1409 
1410 /* RTC module features */
1411 
1412 /* @brief Has Tamper Direction Register support. */
1413 #define FSL_FEATURE_RTC_HAS_TAMPER_DIRECTION (0)
1414 /* @brief Has Tamper Queue Status and Control Register support. */
1415 #define FSL_FEATURE_RTC_HAS_TAMPER_QUEUE (0)
1416 /* @brief Whether RTC is IRTC. */
1417 #define FSL_FEATURE_RTC_IS_IRTC (1)
1418 
1419 /* SIM module features */
1420 
1421 /* @brief Has USB FS divider. */
1422 #define FSL_FEATURE_SIM_USBFS_USE_SPECIAL_DIVIDER (0)
1423 /* @brief Is PLL clock divided by 2 before MCG PLL/FLL clock selection. */
1424 #define FSL_FEATURE_SIM_PLLCLK_USE_SPECIAL_DIVIDER (0)
1425 /* @brief Has RAM size specification (register bit field SOPT1[RAMSIZE]). */
1426 #define FSL_FEATURE_SIM_OPT_HAS_RAMSIZE (0)
1427 /* @brief Has 32k oscillator clock output (register bit SOPT1[OSC32KOUT]). */
1428 #define FSL_FEATURE_SIM_OPT_HAS_OSC32K_OUT (0)
1429 /* @brief Has 32k oscillator clock selection (register bit field SOPT1[OSC32KSEL]). */
1430 #define FSL_FEATURE_SIM_OPT_HAS_OSC32K_SELECTION (1)
1431 /* @brief 32k oscillator clock selection width (width of register bit field SOPT1[OSC32KSEL]). */
1432 #define FSL_FEATURE_SIM_OPT_OSC32K_SELECTION_WIDTH (2)
1433 /* @brief Has RTC clock output selection (register bit SOPT2[RTCCLKOUTSEL]). */
1434 #define FSL_FEATURE_SIM_OPT_HAS_RTC_CLOCK_OUT_SELECTION (0)
1435 /* @brief Has USB voltage regulator (register bits SOPT1[USBVSTBY], SOPT1[USBSSTBY], SOPT1[USBREGEN], SOPT1CFG[URWE], SOPT1CFG[UVSWE], SOPT1CFG[USSWE]). */
1436 #define FSL_FEATURE_SIM_OPT_HAS_USB_VOLTAGE_REGULATOR (0)
1437 /* @brief USB has integrated PHY (register bits USBPHYCTL[USBVREGSEL], USBPHYCTL[USBVREGPD], USBPHYCTL[USB3VOUTTRG], USBPHYCTL[USBDISILIM], SOPT2[USBSLSRC], SOPT2[USBREGEN]). */
1438 #define FSL_FEATURE_SIM_OPT_HAS_USB_PHY (0)
1439 /* @brief Has PTD7 pad drive strength control (register bit SOPT2[PTD7PAD]). */
1440 #define FSL_FEATURE_SIM_OPT_HAS_PTD7PAD (0)
1441 /* @brief Has FlexBus security level selection (register bit SOPT2[FBSL]). */
1442 #define FSL_FEATURE_SIM_OPT_HAS_FBSL (0)
1443 /* @brief Has number of FlexBus hold cycle before FlexBus can release bus (register bit SOPT6[PCR]). */
1444 #define FSL_FEATURE_SIM_OPT_HAS_PCR (0)
1445 /* @brief Has number of NFC hold cycle in case of FlexBus request (register bit SOPT6[MCC]). */
1446 #define FSL_FEATURE_SIM_OPT_HAS_MCC (0)
1447 /* @brief Has UART open drain enable (register bits UARTnODE, where n is a number, in register SOPT5). */
1448 #define FSL_FEATURE_SIM_OPT_HAS_ODE (0)
1449 /* @brief Number of LPUART modules (number of register bits LPUARTn, where n is a number, in register SCGC5). */
1450 #define FSL_FEATURE_SIM_OPT_LPUART_COUNT (0)
1451 /* @brief Number of UART modules (number of register bits UARTn, where n is a number, in register SCGC4). */
1452 #define FSL_FEATURE_SIM_OPT_UART_COUNT (4)
1453 /* @brief Has UART0 open drain enable (register bit SOPT5[UART0ODE]). */
1454 #define FSL_FEATURE_SIM_OPT_HAS_UART0_ODE (0)
1455 /* @brief Has UART1 open drain enable (register bit SOPT5[UART1ODE]). */
1456 #define FSL_FEATURE_SIM_OPT_HAS_UART1_ODE (0)
1457 /* @brief Has UART2 open drain enable (register bit SOPT5[UART2ODE]). */
1458 #define FSL_FEATURE_SIM_OPT_HAS_UART2_ODE (0)
1459 /* @brief Has LPUART0 open drain enable (register bit SOPT5[LPUART0ODE]). */
1460 #define FSL_FEATURE_SIM_OPT_HAS_LPUART0_ODE (0)
1461 /* @brief Has LPUART1 open drain enable (register bit SOPT5[LPUART1ODE]). */
1462 #define FSL_FEATURE_SIM_OPT_HAS_LPUART1_ODE (0)
1463 /* @brief Has CMT/UART pad drive strength control (register bit SOPT2[CMTUARTPAD]). */
1464 #define FSL_FEATURE_SIM_OPT_HAS_CMTUARTPAD (0)
1465 /* @brief Has LPUART0 transmit data source selection (register bit SOPT5[LPUART0TXSRC]). */
1466 #define FSL_FEATURE_SIM_OPT_HAS_LPUART0_TX_SRC (0)
1467 /* @brief Has LPUART0 receive data source selection (register bit SOPT5[LPUART0RXSRC]). */
1468 #define FSL_FEATURE_SIM_OPT_HAS_LPUART0_RX_SRC (0)
1469 /* @brief Has LPUART1 transmit data source selection (register bit SOPT5[LPUART1TXSRC]). */
1470 #define FSL_FEATURE_SIM_OPT_HAS_LPUART1_TX_SRC (0)
1471 /* @brief Has LPUART1 receive data source selection (register bit SOPT5[LPUART1RXSRC]). */
1472 #define FSL_FEATURE_SIM_OPT_HAS_LPUART1_RX_SRC (0)
1473 /* @brief Has UART0 transmit data source selection (register bit SOPT5[UART0TXSRC]). */
1474 #define FSL_FEATURE_SIM_OPT_HAS_UART0_TX_SRC (0)
1475 /* @brief UART0 transmit data source selection width (width of register bit SOPT5[UART0TXSRC]). */
1476 #define FSL_FEATURE_SIM_OPT_UART0_TX_SRC_WIDTH (0)
1477 /* @brief Has UART0 receive data source selection (register bit SOPT5[UART0RXSRC]). */
1478 #define FSL_FEATURE_SIM_OPT_HAS_UART0_RX_SRC (0)
1479 /* @brief UART0 receive data source selection width (width of register bit SOPT5[UART0RXSRC]). */
1480 #define FSL_FEATURE_SIM_OPT_UART0_RX_SRC_WIDTH (0)
1481 /* @brief Has UART1 transmit data source selection (register bit SOPT5[UART1TXSRC]). */
1482 #define FSL_FEATURE_SIM_OPT_HAS_UART1_TX_SRC (0)
1483 /* @brief Has UART1 receive data source selection (register bit SOPT5[UART1RXSRC]). */
1484 #define FSL_FEATURE_SIM_OPT_HAS_UART1_RX_SRC (0)
1485 /* @brief UART1 receive data source selection width (width of register bit SOPT5[UART1RXSRC]). */
1486 #define FSL_FEATURE_SIM_OPT_UART1_RX_SRC_WIDTH (0)
1487 /* @brief Has FTM module(s) configuration. */
1488 #define FSL_FEATURE_SIM_OPT_HAS_FTM (0)
1489 /* @brief Number of FTM modules. */
1490 #define FSL_FEATURE_SIM_OPT_FTM_COUNT (0)
1491 /* @brief Number of FTM triggers with selectable source. */
1492 #define FSL_FEATURE_SIM_OPT_FTM_TRIGGER_COUNT (0)
1493 /* @brief Has FTM0 triggers source selection (register bits SOPT4[FTM0TRGnSRC], where n is a number). */
1494 #define FSL_FEATURE_SIM_OPT_HAS_FTM0_TRIGGER (0)
1495 /* @brief Has FTM3 triggers source selection (register bits SOPT4[FTM3TRGnSRC], where n is a number). */
1496 #define FSL_FEATURE_SIM_OPT_HAS_FTM3_TRIGGER (0)
1497 /* @brief Has FTM1 channel 0 input capture source selection (register bit SOPT4[FTM1CH0SRC]). */
1498 #define FSL_FEATURE_SIM_OPT_HAS_FTM1_CHANNELS (0)
1499 /* @brief Has FTM2 channel 0 input capture source selection (register bit SOPT4[FTM2CH0SRC]). */
1500 #define FSL_FEATURE_SIM_OPT_HAS_FTM2_CHANNELS (0)
1501 /* @brief Has FTM3 channel 0 input capture source selection (register bit SOPT4[FTM3CH0SRC]). */
1502 #define FSL_FEATURE_SIM_OPT_HAS_FTM3_CHANNELS (0)
1503 /* @brief Has FTM2 channel 1 input capture source selection (register bit SOPT4[FTM2CH1SRC]). */
1504 #define FSL_FEATURE_SIM_OPT_HAS_FTM2_CHANNEL1 (0)
1505 /* @brief Number of configurable FTM0 fault detection input (number of register bits SOPT4[FTM0FLTn], where n is a number starting from zero). */
1506 #define FSL_FEATURE_SIM_OPT_FTM0_FAULT_COUNT (0)
1507 /* @brief Number of configurable FTM1 fault detection input (number of register bits SOPT4[FTM1FLTn], where n is a number starting from zero). */
1508 #define FSL_FEATURE_SIM_OPT_FTM1_FAULT_COUNT (0)
1509 /* @brief Number of configurable FTM2 fault detection input (number of register bits SOPT4[FTM2FLTn], where n is a number starting from zero). */
1510 #define FSL_FEATURE_SIM_OPT_FTM2_FAULT_COUNT (0)
1511 /* @brief Number of configurable FTM3 fault detection input (number of register bits SOPT4[FTM3FLTn], where n is a number starting from zero). */
1512 #define FSL_FEATURE_SIM_OPT_FTM3_FAULT_COUNT (0)
1513 /* @brief Has FTM hardware trigger 0 software synchronization (register bit SOPT8[FTMnSYNCBIT], where n is a module instance index). */
1514 #define FSL_FEATURE_SIM_OPT_HAS_FTM_TRIGGER_SYNC (0)
1515 /* @brief Has FTM channels output source selection (register bit SOPT8[FTMxOCHnSRC], where x is a module instance index and n is a channel index). */
1516 #define FSL_FEATURE_SIM_OPT_HAS_FTM_CHANNELS_OUTPUT_SRC (0)
1517 /* @brief Has TPM module(s) configuration. */
1518 #define FSL_FEATURE_SIM_OPT_HAS_TPM (0)
1519 /* @brief The highest TPM module index. */
1520 #define FSL_FEATURE_SIM_OPT_MAX_TPM_INDEX (0)
1521 /* @brief Has TPM module with index 0. */
1522 #define FSL_FEATURE_SIM_OPT_HAS_TPM0 (0)
1523 /* @brief Has TPM0 clock selection (register bit field SOPT4[TPM0CLKSEL]). */
1524 #define FSL_FEATURE_SIM_OPT_HAS_TPM0_CLK_SEL (0)
1525 /* @brief Is TPM channels configuration in the SOPT4 (not SOPT9) register (register bits TPMnCH0SRC, TPMnCLKSEL, where n is a module instance index). */
1526 #define FSL_FEATURE_SIM_OPT_HAS_TPM_CHANNELS_CONFIG_IN_SOPT4_REG (0)
1527 /* @brief Has TPM1 channel 0 input capture source selection (register bit field SOPT4[TPM1CH0SRC] or SOPT9[TPM1CH0SRC]). */
1528 #define FSL_FEATURE_SIM_OPT_HAS_TPM1_CH0_SRC_SELECTION (0)
1529 /* @brief Has TPM1 clock selection (register bit field SOPT4[TPM1CLKSEL]). */
1530 #define FSL_FEATURE_SIM_OPT_HAS_TPM1_CLK_SEL (0)
1531 /* @brief TPM1 channel 0 input capture source selection width (width of register bit field SOPT4[TPM1CH0SRC] or SOPT9[TPM1CH0SRC]). */
1532 #define FSL_FEATURE_SIM_OPT_TPM1_CH0_SRC_SELECTION_WIDTH (0)
1533 /* @brief Has TPM2 channel 0 input capture source selection (register bit field SOPT4[TPM2CH0SRC]). */
1534 #define FSL_FEATURE_SIM_OPT_HAS_TPM2_CH0_SRC_SELECTION (0)
1535 /* @brief Has TPM2 clock selection (register bit field SOPT4[TPM2CLKSEL]). */
1536 #define FSL_FEATURE_SIM_OPT_HAS_TPM2_CLK_SEL (0)
1537 /* @brief Has PLL/FLL clock selection (register bit field SOPT2[PLLFLLSEL]). */
1538 #define FSL_FEATURE_SIM_OPT_HAS_PLL_FLL_SELECTION (0)
1539 /* @brief PLL/FLL clock selection width (width of register bit field SOPT2[PLLFLLSEL]). */
1540 #define FSL_FEATURE_SIM_OPT_PLL_FLL_SELECTION_WIDTH (0)
1541 /* @brief Has NFC clock source selection (register bit SOPT2[NFCSRC]). */
1542 #define FSL_FEATURE_SIM_OPT_HAS_NFCSRC (0)
1543 /* @brief Has eSDHC clock source selection (register bit SOPT2[ESDHCSRC]). */
1544 #define FSL_FEATURE_SIM_OPT_HAS_ESDHCSRC (0)
1545 /* @brief Has SDHC clock source selection (register bit SOPT2[SDHCSRC]). */
1546 #define FSL_FEATURE_SIM_OPT_HAS_SDHCSRC (0)
1547 /* @brief Has LCDC clock source selection (register bits SOPT2[LCDCSRC], SOPT2[LCDC_CLKSEL]). */
1548 #define FSL_FEATURE_SIM_OPT_HAS_LCDCSRC (0)
1549 /* @brief Has ENET timestamp clock source selection (register bit SOPT2[TIMESRC]). */
1550 #define FSL_FEATURE_SIM_OPT_HAS_TIMESRC (0)
1551 /* @brief Has ENET RMII clock source selection (register bit SOPT2[RMIISRC]). */
1552 #define FSL_FEATURE_SIM_OPT_HAS_RMIISRC (0)
1553 /* @brief Has USB clock source selection (register bit SOPT2[USBSRC]). */
1554 #define FSL_FEATURE_SIM_OPT_HAS_USBSRC (0)
1555 /* @brief Has USB FS clock source selection (register bit SOPT2[USBFSRC]). */
1556 #define FSL_FEATURE_SIM_OPT_HAS_USBFSRC (0)
1557 /* @brief Has USB HS clock source selection (register bit SOPT2[USBHSRC]). */
1558 #define FSL_FEATURE_SIM_OPT_HAS_USBHSRC (0)
1559 /* @brief Has LPUART clock source selection (register bit SOPT2[LPUARTSRC]). */
1560 #define FSL_FEATURE_SIM_OPT_HAS_LPUARTSRC (0)
1561 /* @brief Has LPUART0 clock source selection (register bit SOPT2[LPUART0SRC]). */
1562 #define FSL_FEATURE_SIM_OPT_HAS_LPUART0SRC (0)
1563 /* @brief Has LPUART1 clock source selection (register bit SOPT2[LPUART1SRC]). */
1564 #define FSL_FEATURE_SIM_OPT_HAS_LPUART1SRC (0)
1565 /* @brief Has FLEXIOSRC clock source selection (register bit SOPT2[FLEXIOSRC]). */
1566 #define FSL_FEATURE_SIM_OPT_HAS_FLEXIOSRC (0)
1567 /* @brief Has UART0 clock source selection (register bit SOPT2[UART0SRC]). */
1568 #define FSL_FEATURE_SIM_OPT_HAS_UART0SRC (0)
1569 /* @brief Has TPM clock source selection (register bit SOPT2[TPMSRC]). */
1570 #define FSL_FEATURE_SIM_OPT_HAS_TPMSRC (0)
1571 /* @brief Has debug trace clock selection (register bit SOPT2[TRACECLKSEL]). */
1572 #define FSL_FEATURE_SIM_OPT_HAS_TRACE_CLKSEL (0)
1573 /* @brief Number of ADC modules (register bits SOPT7[ADCnTRGSEL], SOPT7[ADCnPRETRGSEL], SOPT7[ADCnALTTRGSEL], where n is a module instance index). */
1574 #define FSL_FEATURE_SIM_OPT_ADC_COUNT (0)
1575 /* @brief ADC0 alternate trigger enable width (width of bit field ADC0ALTTRGEN of register SOPT7). */
1576 #define FSL_FEATURE_SIM_OPT_ADC0ALTTRGEN_WIDTH (0)
1577 /* @brief ADC1 alternate trigger enable width (width of bit field ADC1ALTTRGEN of register SOPT7). */
1578 #define FSL_FEATURE_SIM_OPT_ADC1ALTTRGEN_WIDTH (0)
1579 /* @brief ADC2 alternate trigger enable width (width of bit field ADC2ALTTRGEN of register SOPT7). */
1580 #define FSL_FEATURE_SIM_OPT_ADC2ALTTRGEN_WIDTH (0)
1581 /* @brief ADC3 alternate trigger enable width (width of bit field ADC3ALTTRGEN of register SOPT7). */
1582 #define FSL_FEATURE_SIM_OPT_ADC3ALTTRGEN_WIDTH (0)
1583 /* @brief HSADC0 converter A alternate trigger enable width (width of bit field HSADC0AALTTRGEN of register SOPT7). */
1584 #define FSL_FEATURE_SIM_OPT_HSADC0AALTTRGEN_WIDTH (0)
1585 /* @brief HSADC1 converter A alternate trigger enable width (width of bit field HSADC1AALTTRGEN of register SOPT7). */
1586 #define FSL_FEATURE_SIM_OPT_HSADC1AALTTRGEN_WIDTH (0)
1587 /* @brief ADC converter A alternate trigger enable width (width of bit field ADCAALTTRGEN of register SOPT7). */
1588 #define FSL_FEATURE_SIM_OPT_ADCAALTTRGEN_WIDTH (0)
1589 /* @brief HSADC0 converter B alternate trigger enable width (width of bit field HSADC0BALTTRGEN of register SOPT7). */
1590 #define FSL_FEATURE_SIM_OPT_HSADC0BALTTRGEN_WIDTH (0)
1591 /* @brief HSADC1 converter B alternate trigger enable width (width of bit field HSADC1BALTTRGEN of register SOPT7). */
1592 #define FSL_FEATURE_SIM_OPT_HSADC1BALTTRGEN_WIDTH (0)
1593 /* @brief ADC converter B alternate trigger enable width (width of bit field ADCBALTTRGEN of register SOPT7). */
1594 #define FSL_FEATURE_SIM_OPT_ADCBALTTRGEN_WIDTH (0)
1595 /* @brief Has clock 2 output divider (register bit field CLKDIV1[OUTDIV2]). */
1596 #define FSL_FEATURE_SIM_DIVIDER_HAS_OUTDIV2 (0)
1597 /* @brief Has clock 3 output divider (register bit field CLKDIV1[OUTDIV3]). */
1598 #define FSL_FEATURE_SIM_DIVIDER_HAS_OUTDIV3 (0)
1599 /* @brief Has clock 4 output divider (register bit field CLKDIV1[OUTDIV4]). */
1600 #define FSL_FEATURE_SIM_DIVIDER_HAS_OUTDIV4 (0)
1601 /* @brief Clock 4 output divider width (width of register bit field CLKDIV1[OUTDIV4]). */
1602 #define FSL_FEATURE_SIM_DIVIDER_OUTDIV4_WIDTH (0)
1603 /* @brief Has clock 5 output divider (register bit field CLKDIV1[OUTDIV5]). */
1604 #define FSL_FEATURE_SIM_DIVIDER_HAS_OUTDIV5 (0)
1605 /* @brief Has USB clock divider (register bit field CLKDIV2[USBDIV] and CLKDIV2[USBFRAC]). */
1606 #define FSL_FEATURE_SIM_DIVIDER_HAS_USBDIV (0)
1607 /* @brief Has USB FS clock divider (register bit field CLKDIV2[USBFSDIV] and CLKDIV2[USBFSFRAC]). */
1608 #define FSL_FEATURE_SIM_DIVIDER_HAS_USBFSDIV (0)
1609 /* @brief Has USB HS clock divider (register bit field CLKDIV2[USBHSDIV] and CLKDIV2[USBHSFRAC]). */
1610 #define FSL_FEATURE_SIM_DIVIDER_HAS_USBHSDIV (0)
1611 /* @brief Has PLL/FLL clock divider (register bit field CLKDIV3[PLLFLLDIV] and CLKDIV3[PLLFLLFRAC]). */
1612 #define FSL_FEATURE_SIM_DIVIDER_HAS_PLLFLLDIV (0)
1613 /* @brief Has LCDC clock divider (register bit field CLKDIV3[LCDCDIV] and CLKDIV3[LCDCFRAC]). */
1614 #define FSL_FEATURE_SIM_DIVIDER_HAS_LCDCDIV (0)
1615 /* @brief Has trace clock divider (register bit field CLKDIV4[TRACEDIV] and CLKDIV4[TRACEFRAC]). */
1616 #define FSL_FEATURE_SIM_DIVIDER_HAS_TRACEDIV (0)
1617 /* @brief Has NFC clock divider (register bit field CLKDIV4[NFCDIV] and CLKDIV4[NFCFRAC]). */
1618 #define FSL_FEATURE_SIM_DIVIDER_HAS_NFCDIV (0)
1619 /* @brief Has Kinetis family ID (register bit field SDID[FAMILYID]). */
1620 #define FSL_FEATURE_SIM_SDID_HAS_FAMILYID (0)
1621 /* @brief Has Kinetis family ID (register bit field SDID[FAMID]). */
1622 #define FSL_FEATURE_SIM_SDID_HAS_FAMID (1)
1623 /* @brief Has Kinetis sub-family ID (register bit field SDID[SUBFAMID]). */
1624 #define FSL_FEATURE_SIM_SDID_HAS_SUBFAMID (1)
1625 /* @brief Has Kinetis series ID (register bit field SDID[SERIESID]). */
1626 #define FSL_FEATURE_SIM_SDID_HAS_SERIESID (1)
1627 /* @brief Has device die ID (register bit field SDID[DIEID]). */
1628 #define FSL_FEATURE_SIM_SDID_HAS_DIEID (1)
1629 /* @brief Has system SRAM size specifier (register bit field SDID[SRAMSIZE]). */
1630 #define FSL_FEATURE_SIM_SDID_HAS_SRAMSIZE (1)
1631 /* @brief Has flash mode (register bit FCFG1[FLASHDOZE]). */
1632 #define FSL_FEATURE_SIM_FCFG_HAS_FLASHDOZE (1)
1633 /* @brief Has flash disable (register bit FCFG1[FLASHDIS]). */
1634 #define FSL_FEATURE_SIM_FCFG_HAS_FLASHDIS (1)
1635 /* @brief Has FTFE disable (register bit FCFG1[FTFDIS]). */
1636 #define FSL_FEATURE_SIM_FCFG_HAS_FTFDIS (0)
1637 /* @brief Has FlexNVM size specifier (register bit field FCFG1[NVMSIZE]). */
1638 #define FSL_FEATURE_SIM_FCFG_HAS_NVMSIZE (0)
1639 /* @brief Has EEPROM size specifier (register bit field FCFG1[EESIZE]). */
1640 #define FSL_FEATURE_SIM_FCFG_HAS_EESIZE (0)
1641 /* @brief Has FlexNVM partition (register bit field FCFG1[DEPART]). */
1642 #define FSL_FEATURE_SIM_FCFG_HAS_DEPART (0)
1643 /* @brief Maximum flash address block 0 address specifier (register bit field FCFG2[MAXADDR0]). */
1644 #define FSL_FEATURE_SIM_FCFG_HAS_MAXADDR0 (1)
1645 /* @brief Maximum flash address block 1 address specifier (register bit field FCFG2[MAXADDR1]). */
1646 #define FSL_FEATURE_SIM_FCFG_HAS_MAXADDR1 (1)
1647 /* @brief Maximum flash address block 0 or 1 address specifier (register bit field FCFG2[MAXADDR01]). */
1648 #define FSL_FEATURE_SIM_FCFG_HAS_MAXADDR01 (0)
1649 /* @brief Maximum flash address block 2 or 3 address specifier (register bit field FCFG2[MAXADDR23]). */
1650 #define FSL_FEATURE_SIM_FCFG_HAS_MAXADDR23 (0)
1651 /* @brief Has program flash availability specifier (register bit FCFG2[PFLSH]). */
1652 #define FSL_FEATURE_SIM_FCFG_HAS_PFLSH (0)
1653 /* @brief Has program flash swapping (register bit FCFG2[SWAPPFLSH]). */
1654 #define FSL_FEATURE_SIM_FCFG_HAS_PFLSH_SWAP (0)
1655 /* @brief Has miscellanious control register (register MCR). */
1656 #define FSL_FEATURE_SIM_HAS_MISC_CONTROLS (0)
1657 /* @brief Has COP watchdog (registers COPC and SRVCOP). */
1658 #define FSL_FEATURE_SIM_HAS_COP_WATCHDOG (0)
1659 /* @brief Has COP watchdog stop (register bits COPC[COPSTPEN], COPC[COPDBGEN] and COPC[COPCLKSEL]). */
1660 #define FSL_FEATURE_SIM_HAS_COP_STOP (0)
1661 /* @brief Has LLWU clock gate bit (e.g SIM_SCGC4). */
1662 #define FSL_FEATURE_SIM_HAS_SCGC_LLWU (0)
1663 /* @brief Has UIDH registers. */
1664 #define FSL_FEATURE_SIM_HAS_UIDH (1)
1665 /* @brief Has UIDM registers. */
1666 #define FSL_FEATURE_SIM_HAS_UIDM (0)
1667 
1668 /* SMC module features */
1669 
1670 /* @brief Has partial stop option (register bit STOPCTRL[PSTOPO]). */
1671 #define FSL_FEATURE_SMC_HAS_PSTOPO (1)
1672 /* @brief Has LPO power option (register bit STOPCTRL[LPOPO]). */
1673 #define FSL_FEATURE_SMC_HAS_LPOPO (0)
1674 /* @brief Has POR power option (register bit STOPCTRL[PORPO] or VLLSCTRL[PORPO]). */
1675 #define FSL_FEATURE_SMC_HAS_PORPO (1)
1676 /* @brief Has low power wakeup on interrupt (register bit PMCTRL[LPWUI]). */
1677 #define FSL_FEATURE_SMC_HAS_LPWUI (0)
1678 /* @brief Has LLS or VLLS mode control (register bit STOPCTRL[LLSM]). */
1679 #define FSL_FEATURE_SMC_HAS_LLS_SUBMODE (0)
1680 /* @brief Has VLLS mode control (register bit VLLSCTRL[VLLSM]). */
1681 #define FSL_FEATURE_SMC_USE_VLLSCTRL_REG (0)
1682 /* @brief Has VLLS mode control (register bit STOPCTRL[VLLSM]). */
1683 #define FSL_FEATURE_SMC_USE_STOPCTRL_VLLSM (1)
1684 /* @brief Has RAM partition 2 power option (register bit STOPCTRL[RAM2PO]). */
1685 #define FSL_FEATURE_SMC_HAS_RAM2_POWER_OPTION (0)
1686 /* @brief Has high speed run mode (register bit PMPROT[AHSRUN]). */
1687 #define FSL_FEATURE_SMC_HAS_HIGH_SPEED_RUN_MODE (0)
1688 /* @brief Has low leakage stop mode (register bit PMPROT[ALLS]). */
1689 #define FSL_FEATURE_SMC_HAS_LOW_LEAKAGE_STOP_MODE (0)
1690 /* @brief Has very low leakage stop mode (register bit PMPROT[AVLLS]). */
1691 #define FSL_FEATURE_SMC_HAS_VERY_LOW_LEAKAGE_STOP_MODE (1)
1692 /* @brief Has stop submode. */
1693 #define FSL_FEATURE_SMC_HAS_SUB_STOP_MODE (1)
1694 /* @brief Has stop submode 0(VLLS0). */
1695 #define FSL_FEATURE_SMC_HAS_STOP_SUBMODE0 (1)
1696 /* @brief Has stop submode 1(VLLS1). */
1697 #define FSL_FEATURE_SMC_HAS_STOP_SUBMODE1 (1)
1698 /* @brief Has stop submode 2(VLLS2). */
1699 #define FSL_FEATURE_SMC_HAS_STOP_SUBMODE2 (1)
1700 /* @brief Has SMC_PARAM. */
1701 #define FSL_FEATURE_SMC_HAS_PARAM (0)
1702 /* @brief Has SMC_VERID. */
1703 #define FSL_FEATURE_SMC_HAS_VERID (0)
1704 /* @brief Has stop abort flag (register bit PMCTRL[STOPA]). */
1705 #define FSL_FEATURE_SMC_HAS_PMCTRL_STOPA (1)
1706 /* @brief Has tamper reset (register bit SRS[TAMPER]). */
1707 #define FSL_FEATURE_SMC_HAS_SRS_TAMPER (0)
1708 /* @brief Has security violation reset (register bit SRS[SECVIO]). */
1709 #define FSL_FEATURE_SMC_HAS_SRS_SECVIO (0)
1710 /* @brief Width of SMC registers. */
1711 #define FSL_FEATURE_SMC_REG_WIDTH (8)
1712 
1713 /* SPI module features */
1714 
1715 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
1716 #define FSL_FEATURE_SPI_HAS_FIFO (1)
1717 /* @brief Has DMA support (register bit fields C2[RXDMAE] and C2[TXDMAE]). */
1718 #define FSL_FEATURE_SPI_HAS_DMA_SUPPORT (1)
1719 /* @brief Has separate DMA RX and TX requests. */
1720 #define FSL_FEATURE_SPI_HAS_SEPARATE_DMA_RX_TX_REQn(x) (1)
1721 /* @brief Receive/transmit FIFO size in number of 16-bit communication items. */
1722 #define FSL_FEATURE_SPI_FIFO_SIZEn(x) \
1723     (((x) == SPI0) ? (0) : \
1724     (((x) == SPI1) ? (4) : \
1725     (((x) == SPI2) ? (4) : (-1))))
1726 /* @brief Maximum transfer data width in bits. */
1727 #define FSL_FEATURE_SPI_MAX_DATA_WIDTH (16)
1728 /* @brief The data register name has postfix (L as low and H as high). */
1729 #define FSL_FEATURE_SPI_DATA_REGISTER_HAS_POSTFIX (1)
1730 /* @brief Has separated TXDATA and CMD FIFOs (register SREX). */
1731 #define FSL_FEATURE_SPI_HAS_SEPARATE_TXDATA_CMD_FIFO (0)
1732 /* @brief SPI0, SPI1 and SPI2 has shared interrupt vector. */
1733 #define FSL_FEATURE_SPI_HAS_SHARED_IRQ0_IRQ1_IRQ2 (1)
1734 /* @brief Has 16-bit data transfer support. */
1735 #define FSL_FEATURE_SPI_16BIT_TRANSFERS (1)
1736 
1737 /* SYSMPU module features */
1738 
1739 /* @brief Specifies number of descriptors available. */
1740 #define FSL_FEATURE_SYSMPU_DESCRIPTOR_COUNT (8)
1741 /* @brief Has process identifier support. */
1742 #define FSL_FEATURE_SYSMPU_HAS_PROCESS_IDENTIFIER (1)
1743 /* @brief Total number of MPU slave. */
1744 #define FSL_FEATURE_SYSMPU_SLAVE_COUNT (2)
1745 /* @brief Total number of MPU master. */
1746 #define FSL_FEATURE_SYSMPU_MASTER_COUNT (3)
1747 
1748 /* SysTick module features */
1749 
1750 /* @brief Systick has external reference clock. */
1751 #define FSL_FEATURE_SYSTICK_HAS_EXT_REF (1)
1752 /* @brief Systick external reference clock is core clock divided by this value. */
1753 #define FSL_FEATURE_SYSTICK_EXT_REF_CORE_DIV (16)
1754 
1755 /* UART module features */
1756 
1757 /* @brief Has receive FIFO overflow detection (bit field CFIFO[RXOFE]). */
1758 #define FSL_FEATURE_UART_HAS_IRQ_EXTENDED_FUNCTIONS (1)
1759 /* @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). */
1760 #define FSL_FEATURE_UART_HAS_LOW_POWER_UART_SUPPORT (0)
1761 /* @brief Has extended data register ED (or extra flags in the DATA register if the registers are 32-bit wide). */
1762 #define FSL_FEATURE_UART_HAS_EXTENDED_DATA_REGISTER_FLAGS (1)
1763 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
1764 #define FSL_FEATURE_UART_HAS_FIFO (1)
1765 /* @brief Hardware flow control (RTS, CTS) is supported. */
1766 #define FSL_FEATURE_UART_HAS_MODEM_SUPPORT (1)
1767 /* @brief Infrared (modulation) is supported. */
1768 #define FSL_FEATURE_UART_HAS_IR_SUPPORT (0)
1769 /* @brief 2 bits long stop bit is available. */
1770 #define FSL_FEATURE_UART_HAS_STOP_BIT_CONFIG_SUPPORT (0)
1771 /* @brief If 10-bit mode is supported. */
1772 #define FSL_FEATURE_UART_HAS_10BIT_DATA_SUPPORT (1)
1773 /* @brief Baud rate fine adjustment is available. */
1774 #define FSL_FEATURE_UART_HAS_BAUD_RATE_FINE_ADJUST_SUPPORT (1)
1775 /* @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). */
1776 #define FSL_FEATURE_UART_HAS_BAUD_RATE_OVER_SAMPLING_SUPPORT (0)
1777 /* @brief Baud rate oversampling is available. */
1778 #define FSL_FEATURE_UART_HAS_RX_RESYNC_SUPPORT (0)
1779 /* @brief Baud rate oversampling is available. */
1780 #define FSL_FEATURE_UART_HAS_BOTH_EDGE_SAMPLING_SUPPORT (0)
1781 /* @brief Peripheral type. */
1782 #define FSL_FEATURE_UART_IS_SCI (0)
1783 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
1784 #define FSL_FEATURE_UART_FIFO_SIZEn(x) (8)
1785 /* @brief Supports two match addresses to filter incoming frames. */
1786 #define FSL_FEATURE_UART_HAS_ADDRESS_MATCHING (1)
1787 /* @brief Has transmitter/receiver DMA enable bits C5[TDMAE]/C5[RDMAE] (or BAUD[TDMAE]/BAUD[RDMAE] if the registers are 32-bit wide). */
1788 #define FSL_FEATURE_UART_HAS_DMA_ENABLE (0)
1789 /* @brief Has transmitter/receiver DMA select bits C4[TDMAS]/C4[RDMAS], resp. C5[TDMAS]/C5[RDMAS] if IS_SCI = 0. */
1790 #define FSL_FEATURE_UART_HAS_DMA_SELECT (1)
1791 /* @brief Data character bit order selection is supported (bit field S2[MSBF] or STAT[MSBF] if the registers are 32-bit wide). */
1792 #define FSL_FEATURE_UART_HAS_BIT_ORDER_SELECT (1)
1793 /* @brief Has smart card (ISO7816 protocol) support and no improved smart card support. */
1794 #define FSL_FEATURE_UART_HAS_SMART_CARD_SUPPORT (1)
1795 /* @brief Has improved smart card (ISO7816 protocol) support. */
1796 #define FSL_FEATURE_UART_HAS_IMPROVED_SMART_CARD_SUPPORT (1)
1797 /* @brief Has local operation network (CEA709.1-B protocol) support. */
1798 #define FSL_FEATURE_UART_HAS_LOCAL_OPERATION_NETWORK_SUPPORT (0)
1799 /* @brief Has 32-bit registers (BAUD, STAT, CTRL, DATA, MATCH, MODIR) instead of 8-bit (BDH, BDL, C1, S1, D, etc.). */
1800 #define FSL_FEATURE_UART_HAS_32BIT_REGISTERS (0)
1801 /* @brief Lin break detect available (has bit BDH[LBKDIE]). */
1802 #define FSL_FEATURE_UART_HAS_LIN_BREAK_DETECT (0)
1803 /* @brief UART stops in Wait mode available (has bit C1[UARTSWAI]). */
1804 #define FSL_FEATURE_UART_HAS_WAIT_MODE_OPERATION (0)
1805 /* @brief Has separate DMA RX and TX requests. */
1806 #define FSL_FEATURE_UART_HAS_SEPARATE_DMA_RX_TX_REQn(x) (1)
1807 /* @brief UART0, UART1, UART2 and UART3 have shared interrupt vector. */
1808 #define FSL_FEATURE_UART_HAS_SHARED_IRQ0_IRQ1_IRQ2_IRQ3 (1)
1809 
1810 /* VREF module features */
1811 
1812 /* @brief Has chop oscillator (bit TRM[CHOPEN]) */
1813 #define FSL_FEATURE_VREF_HAS_CHOP_OSC (1)
1814 /* @brief Has second order curvature compensation (bit SC[ICOMPEN]) */
1815 #define FSL_FEATURE_VREF_HAS_COMPENSATION (1)
1816 /* @brief If high/low buffer mode supported */
1817 #define FSL_FEATURE_VREF_MODE_LV_TYPE (1)
1818 /* @brief Module has also low reference (registers VREFL/VREFH) */
1819 #define FSL_FEATURE_VREF_HAS_LOW_REFERENCE (1)
1820 
1821 /* WDOG module features */
1822 
1823 /* @brief Watchdog is available. */
1824 #define FSL_FEATURE_WDOG_HAS_WATCHDOG (1)
1825 /* @brief Has Wait mode support. */
1826 #define FSL_FEATURE_WDOG_HAS_WAITEN (0)
1827 
1828 /* XBAR module features */
1829 
1830 /* @brief Number of interrupt requests. */
1831 #define FSL_FEATURE_XBAR_INTERRUPT_COUNT (4)
1832 
1833 #endif /* _MKM35Z7_FEATURES_H_ */
1834 
1835