1 /*
2 ** ###################################################################
3 **     Version:             rev. 1.7, 2016-06-08
4 **     Build:               b210913
5 **
6 **     Abstract:
7 **         Chip specific module features.
8 **
9 **     Copyright 2016 Freescale Semiconductor, Inc.
10 **     Copyright 2016-2021 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 (2014-05-12)
20 **         Initial version.
21 **     - rev. 1.1 (2014-07-10)
22 **         UART0 - UART0 module renamed to UART2.
23 **     - rev. 1.2 (2014-08-12)
24 **         CRC - CRC register renamed to DATA.
25 **     - rev. 1.3 (2014-09-22)
26 **         FLEXIO - Offsets of the SHIFTBUFBIS registers were interchanged with offsets of the SHIFTBUFBBS registers.
27 **         SIM - Changed bitfield value MCGIRCLK to LIRC_CLK of bitfield CLKOUTSEL in SOPT2 register.
28 **         SIM - Removed bitfield DIEID in SDID register.
29 **         UART2 - Removed ED register.
30 **         UART2 - Removed MODEM register.
31 **         UART2 - Removed IR register.
32 **         UART2 - Removed PFIFO register.
33 **         UART2 - Removed CFIFO register.
34 **         UART2 - Removed SFIFO register.
35 **         UART2 - Removed TWFIFO register.
36 **         UART2 - Removed TCFIFO register.
37 **         UART2 - Removed RWFIFO register.
38 **         UART2 - Removed RCFIFO register.
39 **     - rev. 1.4 (2015-01-21)
40 **         Added FSL_FEATURE_SOC_peripheral_COUNT with number of peripheral instances
41 **     - rev. 1.5 (2015-05-19)
42 **         FSL_FEATURE_SOC_CAU_COUNT remamed to FSL_FEATURE_SOC_MMCAU_COUNT.
43 **         Added FSL_FEATURE_SOC_peripheral_COUNT for TRNG and HSADC.
44 **         Added features for PORT.
45 **     - rev. 1.6 (2015-05-25)
46 **         Added FSL_FEATURE_FLASH_PFLASH_START_ADDRESS
47 **     - rev. 1.7 (2016-06-08)
48 **         Corrected FSL_FEATURE_GPIO_HAS_FAST_GPIO to (1).
49 **
50 ** ###################################################################
51 */
52 
53 #ifndef _MKL17Z644_FEATURES_H_
54 #define _MKL17Z644_FEATURES_H_
55 
56 /* SOC module features */
57 
58 /* @brief ADC16 availability on the SoC. */
59 #define FSL_FEATURE_SOC_ADC16_COUNT (1)
60 /* @brief CMP availability on the SoC. */
61 #define FSL_FEATURE_SOC_CMP_COUNT (1)
62 /* @brief CRC availability on the SoC. */
63 #define FSL_FEATURE_SOC_CRC_COUNT (1)
64 /* @brief DMA availability on the SoC. */
65 #define FSL_FEATURE_SOC_DMA_COUNT (1)
66 /* @brief DMAMUX availability on the SoC. */
67 #define FSL_FEATURE_SOC_DMAMUX_COUNT (1)
68 /* @brief FGPIO availability on the SoC. */
69 #define FSL_FEATURE_SOC_FGPIO_COUNT (5)
70 /* @brief FLEXIO availability on the SoC. */
71 #define FSL_FEATURE_SOC_FLEXIO_COUNT (1)
72 /* @brief FTFA availability on the SoC. */
73 #define FSL_FEATURE_SOC_FTFA_COUNT (1)
74 /* @brief GPIO availability on the SoC. */
75 #define FSL_FEATURE_SOC_GPIO_COUNT (5)
76 /* @brief I2C availability on the SoC. */
77 #define FSL_FEATURE_SOC_I2C_COUNT (2)
78 /* @brief LLWU availability on the SoC. */
79 #define FSL_FEATURE_SOC_LLWU_COUNT (1)
80 /* @brief LPTMR availability on the SoC. */
81 #define FSL_FEATURE_SOC_LPTMR_COUNT (1)
82 /* @brief LPUART availability on the SoC. */
83 #define FSL_FEATURE_SOC_LPUART_COUNT (2)
84 /* @brief MCGLITE availability on the SoC. */
85 #define FSL_FEATURE_SOC_MCGLITE_COUNT (1)
86 /* @brief MCM availability on the SoC. */
87 #define FSL_FEATURE_SOC_MCM_COUNT (1)
88 /* @brief MTB availability on the SoC. */
89 #define FSL_FEATURE_SOC_MTB_COUNT (1)
90 /* @brief MTBDWT availability on the SoC. */
91 #define FSL_FEATURE_SOC_MTBDWT_COUNT (1)
92 /* @brief OSC availability on the SoC. */
93 #define FSL_FEATURE_SOC_OSC_COUNT (1)
94 /* @brief PIT availability on the SoC. */
95 #define FSL_FEATURE_SOC_PIT_COUNT (1)
96 /* @brief PMC availability on the SoC. */
97 #define FSL_FEATURE_SOC_PMC_COUNT (1)
98 /* @brief PORT availability on the SoC. */
99 #define FSL_FEATURE_SOC_PORT_COUNT (5)
100 /* @brief RCM availability on the SoC. */
101 #define FSL_FEATURE_SOC_RCM_COUNT (1)
102 /* @brief RFSYS availability on the SoC. */
103 #define FSL_FEATURE_SOC_RFSYS_COUNT (1)
104 /* @brief ROM availability on the SoC. */
105 #define FSL_FEATURE_SOC_ROM_COUNT (1)
106 /* @brief RTC availability on the SoC. */
107 #define FSL_FEATURE_SOC_RTC_COUNT (1)
108 /* @brief SIM availability on the SoC. */
109 #define FSL_FEATURE_SOC_SIM_COUNT (1)
110 /* @brief SMC availability on the SoC. */
111 #define FSL_FEATURE_SOC_SMC_COUNT (1)
112 /* @brief SPI availability on the SoC. */
113 #define FSL_FEATURE_SOC_SPI_COUNT (2)
114 /* @brief TPM availability on the SoC. */
115 #define FSL_FEATURE_SOC_TPM_COUNT (3)
116 /* @brief UART availability on the SoC. */
117 #define FSL_FEATURE_SOC_UART_COUNT (1)
118 /* @brief VREF availability on the SoC. */
119 #define FSL_FEATURE_SOC_VREF_COUNT (1)
120 
121 /* ADC16 module features */
122 
123 /* @brief Has Programmable Gain Amplifier (PGA) in ADC (register PGA). */
124 #define FSL_FEATURE_ADC16_HAS_PGA (0)
125 /* @brief Has PGA chopping control in ADC (bit PGA[PGACHPb] or PGA[PGACHP]). */
126 #define FSL_FEATURE_ADC16_HAS_PGA_CHOPPING (0)
127 /* @brief Has PGA offset measurement mode in ADC (bit PGA[PGAOFSM]). */
128 #define FSL_FEATURE_ADC16_HAS_PGA_OFFSET_MEASUREMENT (0)
129 /* @brief Has DMA support (bit SC2[DMAEN] or SC4[DMAEN]). */
130 #define FSL_FEATURE_ADC16_HAS_DMA (1)
131 /* @brief Has differential mode (bitfield SC1x[DIFF]). */
132 #define FSL_FEATURE_ADC16_HAS_DIFF_MODE (1)
133 /* @brief Has FIFO (bit SC4[AFDEP]). */
134 #define FSL_FEATURE_ADC16_HAS_FIFO (0)
135 /* @brief FIFO size if available (bitfield SC4[AFDEP]). */
136 #define FSL_FEATURE_ADC16_FIFO_SIZE (0)
137 /* @brief Has channel set a/b multiplexor (bitfield CFG2[MUXSEL]). */
138 #define FSL_FEATURE_ADC16_HAS_MUX_SELECT (1)
139 /* @brief Has HW trigger masking (bitfield SC5[HTRGMASKE]. */
140 #define FSL_FEATURE_ADC16_HAS_HW_TRIGGER_MASK (0)
141 /* @brief Has calibration feature (bit SC3[CAL] and registers CLPx, CLMx). */
142 #define FSL_FEATURE_ADC16_HAS_CALIBRATION (1)
143 /* @brief Has HW averaging (bit SC3[AVGE]). */
144 #define FSL_FEATURE_ADC16_HAS_HW_AVERAGE (1)
145 /* @brief Has offset correction (register OFS). */
146 #define FSL_FEATURE_ADC16_HAS_OFFSET_CORRECTION (1)
147 /* @brief Maximum ADC resolution. */
148 #define FSL_FEATURE_ADC16_MAX_RESOLUTION (16)
149 /* @brief Number of SC1x and Rx register pairs (conversion control and result registers). */
150 #define FSL_FEATURE_ADC16_CONVERSION_CONTROL_COUNT (2)
151 
152 /* CMP module features */
153 
154 /* @brief Has Trigger mode in CMP (register bit field CR1[TRIGM]). */
155 #define FSL_FEATURE_CMP_HAS_TRIGGER_MODE (1)
156 /* @brief Has Window mode in CMP (register bit field CR1[WE]). */
157 #define FSL_FEATURE_CMP_HAS_WINDOW_MODE (0)
158 /* @brief Has External sample supported in CMP (register bit field CR1[SE]). */
159 #define FSL_FEATURE_CMP_HAS_EXTERNAL_SAMPLE_SUPPORT (0)
160 /* @brief Has DMA support in CMP (register bit field SCR[DMAEN]). */
161 #define FSL_FEATURE_CMP_HAS_DMA (1)
162 /* @brief Has Pass Through mode in CMP (register bit field MUXCR[PSTM]). */
163 #define FSL_FEATURE_CMP_HAS_PASS_THROUGH_MODE (0)
164 /* @brief Has DAC Test function in CMP (register DACTEST). */
165 #define FSL_FEATURE_CMP_HAS_DAC_TEST (0)
166 
167 /* COP module features */
168 
169 /* @brief Has the COP Debug Enable bit (COPC[COPDBGEN]) */
170 #define FSL_FEATURE_COP_HAS_DEBUG_ENABLE (1)
171 /* @brief Has the COP Stop mode Enable bit (COPC[COPSTPEN]) */
172 #define FSL_FEATURE_COP_HAS_STOP_ENABLE (1)
173 /* @brief Has more clock sources like MCGIRC */
174 #define FSL_FEATURE_COP_HAS_MORE_CLKSRC (1)
175 /* @brief Has the timeout long and short mode bit (COPC[COPCLKS]) */
176 #define FSL_FEATURE_COP_HAS_LONGTIME_MODE (1)
177 
178 /* CRC module features */
179 
180 /* @brief Has data register with name CRC */
181 #define FSL_FEATURE_CRC_HAS_CRC_REG (0)
182 
183 /* DMA module features */
184 
185 /* @brief Number of DMA channels. */
186 #define FSL_FEATURE_DMA_MODULE_CHANNEL (4)
187 /* @brief Total number of DMA channels on all modules. */
188 #define FSL_FEATURE_DMA_DMAMUX_CHANNELS (4)
189 
190 /* DMAMUX module features */
191 
192 /* @brief Number of DMA channels (related to number of register CHCFGn). */
193 #define FSL_FEATURE_DMAMUX_MODULE_CHANNEL (4)
194 /* @brief Total number of DMA channels on all modules. */
195 #define FSL_FEATURE_DMAMUX_DMAMUX_CHANNELS (4)
196 /* @brief Has the periodic trigger capability for the triggered DMA channel (register bit CHCFG0[TRIG]). */
197 #define FSL_FEATURE_DMAMUX_HAS_TRIG (1)
198 /* @brief Register CHCFGn width. */
199 #define FSL_FEATURE_DMAMUX_CHCFG_REGISTER_WIDTH (8)
200 
201 /* FGPIO module features */
202 
203 /* No feature definitions */
204 
205 /* FLEXIO module features */
206 
207 /* @brief Has Shifter Status Register (FLEXIO_SHIFTSTAT) */
208 #define FSL_FEATURE_FLEXIO_HAS_SHIFTER_STATUS (1)
209 /* @brief Has Pin Data Input Register (FLEXIO_PIN) */
210 #define FSL_FEATURE_FLEXIO_HAS_PIN_STATUS (0)
211 /* @brief Has Shifter Buffer N Nibble Byte Swapped Register (FLEXIO_SHIFTBUFNBSn) */
212 #define FSL_FEATURE_FLEXIO_HAS_SHFT_BUFFER_NIBBLE_BYTE_SWAP (0)
213 /* @brief Has Shifter Buffer N Half Word Swapped Register (FLEXIO_SHIFTBUFHWSn) */
214 #define FSL_FEATURE_FLEXIO_HAS_SHFT_BUFFER_HALF_WORD_SWAP (0)
215 /* @brief Has Shifter Buffer N Nibble Swapped Register (FLEXIO_SHIFTBUFNISn) */
216 #define FSL_FEATURE_FLEXIO_HAS_SHFT_BUFFER_NIBBLE_SWAP (0)
217 /* @brief Supports Shifter State Mode (FLEXIO_SHIFTCTLn[SMOD]) */
218 #define FSL_FEATURE_FLEXIO_HAS_STATE_MODE (0)
219 /* @brief Supports Shifter Logic Mode (FLEXIO_SHIFTCTLn[SMOD]) */
220 #define FSL_FEATURE_FLEXIO_HAS_LOGIC_MODE (0)
221 /* @brief Supports paralle width (FLEXIO_SHIFTCFGn[PWIDTH]) */
222 #define FSL_FEATURE_FLEXIO_HAS_PARALLEL_WIDTH (0)
223 /* @brief Reset value of the FLEXIO_VERID register */
224 #define FSL_FEATURE_FLEXIO_VERID_RESET_VALUE (0x1000000)
225 /* @brief Reset value of the FLEXIO_PARAM register */
226 #define FSL_FEATURE_FLEXIO_PARAM_RESET_VALUE (0x10080404)
227 /* @brief Flexio DMA request base channel */
228 #define FSL_FEATURE_FLEXIO_DMA_REQUEST_BASE_CHANNEL (0)
229 
230 /* FLASH module features */
231 
232 #if defined(CPU_MKL17Z32VDA4) || defined(CPU_MKL17Z32VFM4) || defined(CPU_MKL17Z32VFT4) || defined(CPU_MKL17Z32VLH4) || \
233     defined(CPU_MKL17Z32VMP4)
234     /* @brief Is of type FTFA. */
235     #define FSL_FEATURE_FLASH_IS_FTFA (1)
236     /* @brief Is of type FTFE. */
237     #define FSL_FEATURE_FLASH_IS_FTFE (0)
238     /* @brief Is of type FTFL. */
239     #define FSL_FEATURE_FLASH_IS_FTFL (0)
240     /* @brief Has flags indicating the status of the FlexRAM (register bits FCNFG[EEERDY], FCNFG[RAMRDY] and FCNFG[PFLSH]). */
241     #define FSL_FEATURE_FLASH_HAS_FLEX_RAM_FLAGS (0)
242     /* @brief Has program flash swapping status flag (register bit FCNFG[SWAP]). */
243     #define FSL_FEATURE_FLASH_HAS_PFLASH_SWAPPING_STATUS_FLAG (0)
244     /* @brief Has EEPROM region protection (register FEPROT). */
245     #define FSL_FEATURE_FLASH_HAS_EEROM_REGION_PROTECTION (0)
246     /* @brief Has data flash region protection (register FDPROT). */
247     #define FSL_FEATURE_FLASH_HAS_DATA_FLASH_REGION_PROTECTION (0)
248     /* @brief Has flash access control (registers XACCHn, SACCHn, where n is a number, FACSS and FACSN). */
249     #define FSL_FEATURE_FLASH_HAS_ACCESS_CONTROL (0)
250     /* @brief Has flash cache control in FMC module. */
251     #define FSL_FEATURE_FLASH_HAS_FMC_FLASH_CACHE_CONTROLS (0)
252     /* @brief Has flash cache control in MCM module. */
253     #define FSL_FEATURE_FLASH_HAS_MCM_FLASH_CACHE_CONTROLS (1)
254     /* @brief Has flash cache control in MSCM module. */
255     #define FSL_FEATURE_FLASH_HAS_MSCM_FLASH_CACHE_CONTROLS (0)
256     /* @brief Has prefetch speculation control in flash, such as kv5x. */
257     #define FSL_FEATURE_FLASH_PREFETCH_SPECULATION_CONTROL_IN_FLASH (0)
258     /* @brief P-Flash flash size coding rule version, value 0 for K1 and K2, value 1 for K3. */
259     #define FSL_FEATURE_FLASH_SIZE_ENCODING_RULE_VERSION (0)
260     /* @brief P-Flash start address. */
261     #define FSL_FEATURE_FLASH_PFLASH_START_ADDRESS (0x00000000)
262     /* @brief P-Flash block count. */
263     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_COUNT (1)
264     /* @brief P-Flash block size. */
265     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_SIZE (32768)
266     /* @brief P-Flash sector size. */
267     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_SECTOR_SIZE (1024)
268     /* @brief P-Flash write unit size. */
269     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_WRITE_UNIT_SIZE (4)
270     /* @brief P-Flash data path width. */
271     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_DATA_PATH_WIDTH (4)
272     /* @brief P-Flash block swap feature. */
273     #define FSL_FEATURE_FLASH_HAS_PFLASH_BLOCK_SWAP (0)
274     /* @brief P-Flash protection region count. */
275     #define FSL_FEATURE_FLASH_PFLASH_PROTECTION_REGION_COUNT (32)
276     /* @brief Has FlexNVM memory. */
277     #define FSL_FEATURE_FLASH_HAS_FLEX_NVM (0)
278     /* @brief Has FlexNVM alias. */
279     #define FSL_FEATURE_FLASH_HAS_FLEX_NVM_ALIAS (0)
280     /* @brief FlexNVM start address. (Valid only if FlexNVM is available.) */
281     #define FSL_FEATURE_FLASH_FLEX_NVM_START_ADDRESS (0x00000000)
282     /* @brief FlexNVM alias start address. (Valid only if FlexNVM alias is available.) */
283     #define FSL_FEATURE_FLASH_FLEX_NVM_ALIAS_START_ADDRESS (0x00000000)
284     /* @brief FlexNVM block count. */
285     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_COUNT (0)
286     /* @brief FlexNVM block size. */
287     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_SIZE (0)
288     /* @brief FlexNVM sector size. */
289     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_SECTOR_SIZE (0)
290     /* @brief FlexNVM write unit size. */
291     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_WRITE_UNIT_SIZE (0)
292     /* @brief FlexNVM data path width. */
293     #define FSL_FEATURE_FLASH_FLEX_BLOCK_DATA_PATH_WIDTH (0)
294     /* @brief Has FlexRAM memory. */
295     #define FSL_FEATURE_FLASH_HAS_FLEX_RAM (0)
296     /* @brief FlexRAM start address. (Valid only if FlexRAM is available.) */
297     #define FSL_FEATURE_FLASH_FLEX_RAM_START_ADDRESS (0x00000000)
298     /* @brief FlexRAM size. */
299     #define FSL_FEATURE_FLASH_FLEX_RAM_SIZE (0)
300     /* @brief Has 0x00 Read 1s Block command. */
301     #define FSL_FEATURE_FLASH_HAS_READ_1S_BLOCK_CMD (0)
302     /* @brief Has 0x01 Read 1s Section command. */
303     #define FSL_FEATURE_FLASH_HAS_READ_1S_SECTION_CMD (1)
304     /* @brief Has 0x02 Program Check command. */
305     #define FSL_FEATURE_FLASH_HAS_PROGRAM_CHECK_CMD (1)
306     /* @brief Has 0x03 Read Resource command. */
307     #define FSL_FEATURE_FLASH_HAS_READ_RESOURCE_CMD (1)
308     /* @brief Has 0x06 Program Longword command. */
309     #define FSL_FEATURE_FLASH_HAS_PROGRAM_LONGWORD_CMD (1)
310     /* @brief Has 0x07 Program Phrase command. */
311     #define FSL_FEATURE_FLASH_HAS_PROGRAM_PHRASE_CMD (0)
312     /* @brief Has 0x08 Erase Flash Block command. */
313     #define FSL_FEATURE_FLASH_HAS_ERASE_FLASH_BLOCK_CMD (0)
314     /* @brief Has 0x09 Erase Flash Sector command. */
315     #define FSL_FEATURE_FLASH_HAS_ERASE_FLASH_SECTOR_CMD (1)
316     /* @brief Has 0x0B Program Section command. */
317     #define FSL_FEATURE_FLASH_HAS_PROGRAM_SECTION_CMD (0)
318     /* @brief Has 0x40 Read 1s All Blocks command. */
319     #define FSL_FEATURE_FLASH_HAS_READ_1S_ALL_BLOCKS_CMD (1)
320     /* @brief Has 0x41 Read Once command. */
321     #define FSL_FEATURE_FLASH_HAS_READ_ONCE_CMD (1)
322     /* @brief Has 0x43 Program Once command. */
323     #define FSL_FEATURE_FLASH_HAS_PROGRAM_ONCE_CMD (1)
324     /* @brief Has 0x44 Erase All Blocks command. */
325     #define FSL_FEATURE_FLASH_HAS_ERASE_ALL_BLOCKS_CMD (1)
326     /* @brief Has 0x45 Verify Backdoor Access Key command. */
327     #define FSL_FEATURE_FLASH_HAS_VERIFY_BACKDOOR_ACCESS_KEY_CMD (1)
328     /* @brief Has 0x46 Swap Control command. */
329     #define FSL_FEATURE_FLASH_HAS_SWAP_CONTROL_CMD (0)
330     /* @brief Has 0x49 Erase All Blocks Unsecure command. */
331     #define FSL_FEATURE_FLASH_HAS_ERASE_ALL_BLOCKS_UNSECURE_CMD (1)
332     /* @brief Has 0x4A Read 1s All Execute-only Segments command. */
333     #define FSL_FEATURE_FLASH_HAS_READ_1S_ALL_EXECUTE_ONLY_SEGMENTS_CMD (0)
334     /* @brief Has 0x4B Erase All Execute-only Segments command. */
335     #define FSL_FEATURE_FLASH_HAS_ERASE_ALL_EXECUTE_ONLY_SEGMENTS_CMD (0)
336     /* @brief Has 0x80 Program Partition command. */
337     #define FSL_FEATURE_FLASH_HAS_PROGRAM_PARTITION_CMD (0)
338     /* @brief Has 0x81 Set FlexRAM Function command. */
339     #define FSL_FEATURE_FLASH_HAS_SET_FLEXRAM_FUNCTION_CMD (0)
340     /* @brief P-Flash Erase/Read 1st all block command address alignment. */
341     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_CMD_ADDRESS_ALIGMENT (4)
342     /* @brief P-Flash Erase sector command address alignment. */
343     #define FSL_FEATURE_FLASH_PFLASH_SECTOR_CMD_ADDRESS_ALIGMENT (4)
344     /* @brief P-Flash Rrogram/Verify section command address alignment. */
345     #define FSL_FEATURE_FLASH_PFLASH_SECTION_CMD_ADDRESS_ALIGMENT (4)
346     /* @brief P-Flash Read resource command address alignment. */
347     #define FSL_FEATURE_FLASH_PFLASH_RESOURCE_CMD_ADDRESS_ALIGMENT (4)
348     /* @brief P-Flash Program check command address alignment. */
349     #define FSL_FEATURE_FLASH_PFLASH_CHECK_CMD_ADDRESS_ALIGMENT (4)
350     /* @brief P-Flash Program check command address alignment. */
351     #define FSL_FEATURE_FLASH_PFLASH_SWAP_CONTROL_CMD_ADDRESS_ALIGMENT (0)
352     /* @brief FlexNVM Erase/Read 1st all block command address alignment. */
353     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_CMD_ADDRESS_ALIGMENT (0)
354     /* @brief FlexNVM Erase sector command address alignment. */
355     #define FSL_FEATURE_FLASH_FLEX_NVM_SECTOR_CMD_ADDRESS_ALIGMENT (0)
356     /* @brief FlexNVM Rrogram/Verify section command address alignment. */
357     #define FSL_FEATURE_FLASH_FLEX_NVM_SECTION_CMD_ADDRESS_ALIGMENT (0)
358     /* @brief FlexNVM Read resource command address alignment. */
359     #define FSL_FEATURE_FLASH_FLEX_NVM_RESOURCE_CMD_ADDRESS_ALIGMENT (0)
360     /* @brief FlexNVM Program check command address alignment. */
361     #define FSL_FEATURE_FLASH_FLEX_NVM_CHECK_CMD_ADDRESS_ALIGMENT (0)
362     /* @brief FlexNVM partition code 0000 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
363     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0000 (0xFFFFFFFFU)
364     /* @brief FlexNVM partition code 0001 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
365     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0001 (0xFFFFFFFFU)
366     /* @brief FlexNVM partition code 0010 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
367     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0010 (0xFFFFFFFFU)
368     /* @brief FlexNVM partition code 0011 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
369     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0011 (0xFFFFFFFFU)
370     /* @brief FlexNVM partition code 0100 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
371     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0100 (0xFFFFFFFFU)
372     /* @brief FlexNVM partition code 0101 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
373     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0101 (0xFFFFFFFFU)
374     /* @brief FlexNVM partition code 0110 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
375     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0110 (0xFFFFFFFFU)
376     /* @brief FlexNVM partition code 0111 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
377     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0111 (0xFFFFFFFFU)
378     /* @brief FlexNVM partition code 1000 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
379     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1000 (0xFFFFFFFFU)
380     /* @brief FlexNVM partition code 1001 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
381     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1001 (0xFFFFFFFFU)
382     /* @brief FlexNVM partition code 1010 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
383     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1010 (0xFFFFFFFFU)
384     /* @brief FlexNVM partition code 1011 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
385     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1011 (0xFFFFFFFFU)
386     /* @brief FlexNVM partition code 1100 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
387     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1100 (0xFFFFFFFFU)
388     /* @brief FlexNVM partition code 1101 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
389     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1101 (0xFFFFFFFFU)
390     /* @brief FlexNVM partition code 1110 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
391     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1110 (0xFFFFFFFFU)
392     /* @brief FlexNVM partition code 1111 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
393     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1111 (0xFFFFFFFFU)
394     /* @brief Emulated eeprom size code 0000 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
395     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0000 (0xFFFF)
396     /* @brief Emulated eeprom size code 0001 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
397     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0001 (0xFFFF)
398     /* @brief Emulated eeprom size code 0010 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
399     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0010 (0xFFFF)
400     /* @brief Emulated eeprom size code 0011 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
401     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0011 (0xFFFF)
402     /* @brief Emulated eeprom size code 0100 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
403     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0100 (0xFFFF)
404     /* @brief Emulated eeprom size code 0101 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
405     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0101 (0xFFFF)
406     /* @brief Emulated eeprom size code 0110 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
407     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0110 (0xFFFF)
408     /* @brief Emulated eeprom size code 0111 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
409     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0111 (0xFFFF)
410     /* @brief Emulated eeprom size code 1000 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
411     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1000 (0xFFFF)
412     /* @brief Emulated eeprom size code 1001 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
413     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1001 (0xFFFF)
414     /* @brief Emulated eeprom size code 1010 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
415     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1010 (0xFFFF)
416     /* @brief Emulated eeprom size code 1011 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
417     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1011 (0xFFFF)
418     /* @brief Emulated eeprom size code 1100 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
419     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1100 (0xFFFF)
420     /* @brief Emulated eeprom size code 1101 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
421     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1101 (0xFFFF)
422     /* @brief Emulated eeprom size code 1110 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
423     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1110 (0xFFFF)
424     /* @brief Emulated eeprom size code 1111 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
425     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1111 (0xFFFF)
426 #elif defined(CPU_MKL17Z64VDA4) || defined(CPU_MKL17Z64VFM4) || defined(CPU_MKL17Z64VFT4) || defined(CPU_MKL17Z64VLH4) || \
427     defined(CPU_MKL17Z64VMP4)
428     /* @brief Is of type FTFA. */
429     #define FSL_FEATURE_FLASH_IS_FTFA (1)
430     /* @brief Is of type FTFE. */
431     #define FSL_FEATURE_FLASH_IS_FTFE (0)
432     /* @brief Is of type FTFL. */
433     #define FSL_FEATURE_FLASH_IS_FTFL (0)
434     /* @brief Has flags indicating the status of the FlexRAM (register bits FCNFG[EEERDY], FCNFG[RAMRDY] and FCNFG[PFLSH]). */
435     #define FSL_FEATURE_FLASH_HAS_FLEX_RAM_FLAGS (0)
436     /* @brief Has program flash swapping status flag (register bit FCNFG[SWAP]). */
437     #define FSL_FEATURE_FLASH_HAS_PFLASH_SWAPPING_STATUS_FLAG (0)
438     /* @brief Has EEPROM region protection (register FEPROT). */
439     #define FSL_FEATURE_FLASH_HAS_EEROM_REGION_PROTECTION (0)
440     /* @brief Has data flash region protection (register FDPROT). */
441     #define FSL_FEATURE_FLASH_HAS_DATA_FLASH_REGION_PROTECTION (0)
442     /* @brief Has flash access control (registers XACCHn, SACCHn, where n is a number, FACSS and FACSN). */
443     #define FSL_FEATURE_FLASH_HAS_ACCESS_CONTROL (0)
444     /* @brief Has flash cache control in FMC module. */
445     #define FSL_FEATURE_FLASH_HAS_FMC_FLASH_CACHE_CONTROLS (0)
446     /* @brief Has flash cache control in MCM module. */
447     #define FSL_FEATURE_FLASH_HAS_MCM_FLASH_CACHE_CONTROLS (1)
448     /* @brief Has flash cache control in MSCM module. */
449     #define FSL_FEATURE_FLASH_HAS_MSCM_FLASH_CACHE_CONTROLS (0)
450     /* @brief Has prefetch speculation control in flash, such as kv5x. */
451     #define FSL_FEATURE_FLASH_PREFETCH_SPECULATION_CONTROL_IN_FLASH (0)
452     /* @brief P-Flash flash size coding rule version, value 0 for K1 and K2, value 1 for K3. */
453     #define FSL_FEATURE_FLASH_SIZE_ENCODING_RULE_VERSION (0)
454     /* @brief P-Flash start address. */
455     #define FSL_FEATURE_FLASH_PFLASH_START_ADDRESS (0x00000000)
456     /* @brief P-Flash block count. */
457     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_COUNT (1)
458     /* @brief P-Flash block size. */
459     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_SIZE (65536)
460     /* @brief P-Flash sector size. */
461     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_SECTOR_SIZE (1024)
462     /* @brief P-Flash write unit size. */
463     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_WRITE_UNIT_SIZE (4)
464     /* @brief P-Flash data path width. */
465     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_DATA_PATH_WIDTH (4)
466     /* @brief P-Flash block swap feature. */
467     #define FSL_FEATURE_FLASH_HAS_PFLASH_BLOCK_SWAP (0)
468     /* @brief P-Flash protection region count. */
469     #define FSL_FEATURE_FLASH_PFLASH_PROTECTION_REGION_COUNT (32)
470     /* @brief Has FlexNVM memory. */
471     #define FSL_FEATURE_FLASH_HAS_FLEX_NVM (0)
472     /* @brief Has FlexNVM alias. */
473     #define FSL_FEATURE_FLASH_HAS_FLEX_NVM_ALIAS (0)
474     /* @brief FlexNVM start address. (Valid only if FlexNVM is available.) */
475     #define FSL_FEATURE_FLASH_FLEX_NVM_START_ADDRESS (0x00000000)
476     /* @brief FlexNVM alias start address. (Valid only if FlexNVM alias is available.) */
477     #define FSL_FEATURE_FLASH_FLEX_NVM_ALIAS_START_ADDRESS (0x00000000)
478     /* @brief FlexNVM block count. */
479     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_COUNT (0)
480     /* @brief FlexNVM block size. */
481     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_SIZE (0)
482     /* @brief FlexNVM sector size. */
483     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_SECTOR_SIZE (0)
484     /* @brief FlexNVM write unit size. */
485     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_WRITE_UNIT_SIZE (0)
486     /* @brief FlexNVM data path width. */
487     #define FSL_FEATURE_FLASH_FLEX_BLOCK_DATA_PATH_WIDTH (0)
488     /* @brief Has FlexRAM memory. */
489     #define FSL_FEATURE_FLASH_HAS_FLEX_RAM (0)
490     /* @brief FlexRAM start address. (Valid only if FlexRAM is available.) */
491     #define FSL_FEATURE_FLASH_FLEX_RAM_START_ADDRESS (0x00000000)
492     /* @brief FlexRAM size. */
493     #define FSL_FEATURE_FLASH_FLEX_RAM_SIZE (0)
494     /* @brief Has 0x00 Read 1s Block command. */
495     #define FSL_FEATURE_FLASH_HAS_READ_1S_BLOCK_CMD (0)
496     /* @brief Has 0x01 Read 1s Section command. */
497     #define FSL_FEATURE_FLASH_HAS_READ_1S_SECTION_CMD (1)
498     /* @brief Has 0x02 Program Check command. */
499     #define FSL_FEATURE_FLASH_HAS_PROGRAM_CHECK_CMD (1)
500     /* @brief Has 0x03 Read Resource command. */
501     #define FSL_FEATURE_FLASH_HAS_READ_RESOURCE_CMD (1)
502     /* @brief Has 0x06 Program Longword command. */
503     #define FSL_FEATURE_FLASH_HAS_PROGRAM_LONGWORD_CMD (1)
504     /* @brief Has 0x07 Program Phrase command. */
505     #define FSL_FEATURE_FLASH_HAS_PROGRAM_PHRASE_CMD (0)
506     /* @brief Has 0x08 Erase Flash Block command. */
507     #define FSL_FEATURE_FLASH_HAS_ERASE_FLASH_BLOCK_CMD (0)
508     /* @brief Has 0x09 Erase Flash Sector command. */
509     #define FSL_FEATURE_FLASH_HAS_ERASE_FLASH_SECTOR_CMD (1)
510     /* @brief Has 0x0B Program Section command. */
511     #define FSL_FEATURE_FLASH_HAS_PROGRAM_SECTION_CMD (0)
512     /* @brief Has 0x40 Read 1s All Blocks command. */
513     #define FSL_FEATURE_FLASH_HAS_READ_1S_ALL_BLOCKS_CMD (1)
514     /* @brief Has 0x41 Read Once command. */
515     #define FSL_FEATURE_FLASH_HAS_READ_ONCE_CMD (1)
516     /* @brief Has 0x43 Program Once command. */
517     #define FSL_FEATURE_FLASH_HAS_PROGRAM_ONCE_CMD (1)
518     /* @brief Has 0x44 Erase All Blocks command. */
519     #define FSL_FEATURE_FLASH_HAS_ERASE_ALL_BLOCKS_CMD (1)
520     /* @brief Has 0x45 Verify Backdoor Access Key command. */
521     #define FSL_FEATURE_FLASH_HAS_VERIFY_BACKDOOR_ACCESS_KEY_CMD (1)
522     /* @brief Has 0x46 Swap Control command. */
523     #define FSL_FEATURE_FLASH_HAS_SWAP_CONTROL_CMD (0)
524     /* @brief Has 0x49 Erase All Blocks Unsecure command. */
525     #define FSL_FEATURE_FLASH_HAS_ERASE_ALL_BLOCKS_UNSECURE_CMD (1)
526     /* @brief Has 0x4A Read 1s All Execute-only Segments command. */
527     #define FSL_FEATURE_FLASH_HAS_READ_1S_ALL_EXECUTE_ONLY_SEGMENTS_CMD (0)
528     /* @brief Has 0x4B Erase All Execute-only Segments command. */
529     #define FSL_FEATURE_FLASH_HAS_ERASE_ALL_EXECUTE_ONLY_SEGMENTS_CMD (0)
530     /* @brief Has 0x80 Program Partition command. */
531     #define FSL_FEATURE_FLASH_HAS_PROGRAM_PARTITION_CMD (0)
532     /* @brief Has 0x81 Set FlexRAM Function command. */
533     #define FSL_FEATURE_FLASH_HAS_SET_FLEXRAM_FUNCTION_CMD (0)
534     /* @brief P-Flash Erase/Read 1st all block command address alignment. */
535     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_CMD_ADDRESS_ALIGMENT (4)
536     /* @brief P-Flash Erase sector command address alignment. */
537     #define FSL_FEATURE_FLASH_PFLASH_SECTOR_CMD_ADDRESS_ALIGMENT (4)
538     /* @brief P-Flash Rrogram/Verify section command address alignment. */
539     #define FSL_FEATURE_FLASH_PFLASH_SECTION_CMD_ADDRESS_ALIGMENT (4)
540     /* @brief P-Flash Read resource command address alignment. */
541     #define FSL_FEATURE_FLASH_PFLASH_RESOURCE_CMD_ADDRESS_ALIGMENT (4)
542     /* @brief P-Flash Program check command address alignment. */
543     #define FSL_FEATURE_FLASH_PFLASH_CHECK_CMD_ADDRESS_ALIGMENT (4)
544     /* @brief P-Flash Program check command address alignment. */
545     #define FSL_FEATURE_FLASH_PFLASH_SWAP_CONTROL_CMD_ADDRESS_ALIGMENT (0)
546     /* @brief FlexNVM Erase/Read 1st all block command address alignment. */
547     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_CMD_ADDRESS_ALIGMENT (0)
548     /* @brief FlexNVM Erase sector command address alignment. */
549     #define FSL_FEATURE_FLASH_FLEX_NVM_SECTOR_CMD_ADDRESS_ALIGMENT (0)
550     /* @brief FlexNVM Rrogram/Verify section command address alignment. */
551     #define FSL_FEATURE_FLASH_FLEX_NVM_SECTION_CMD_ADDRESS_ALIGMENT (0)
552     /* @brief FlexNVM Read resource command address alignment. */
553     #define FSL_FEATURE_FLASH_FLEX_NVM_RESOURCE_CMD_ADDRESS_ALIGMENT (0)
554     /* @brief FlexNVM Program check command address alignment. */
555     #define FSL_FEATURE_FLASH_FLEX_NVM_CHECK_CMD_ADDRESS_ALIGMENT (0)
556     /* @brief FlexNVM partition code 0000 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
557     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0000 (0xFFFFFFFFU)
558     /* @brief FlexNVM partition code 0001 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
559     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0001 (0xFFFFFFFFU)
560     /* @brief FlexNVM partition code 0010 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
561     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0010 (0xFFFFFFFFU)
562     /* @brief FlexNVM partition code 0011 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
563     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0011 (0xFFFFFFFFU)
564     /* @brief FlexNVM partition code 0100 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
565     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0100 (0xFFFFFFFFU)
566     /* @brief FlexNVM partition code 0101 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
567     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0101 (0xFFFFFFFFU)
568     /* @brief FlexNVM partition code 0110 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
569     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0110 (0xFFFFFFFFU)
570     /* @brief FlexNVM partition code 0111 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
571     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0111 (0xFFFFFFFFU)
572     /* @brief FlexNVM partition code 1000 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
573     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1000 (0xFFFFFFFFU)
574     /* @brief FlexNVM partition code 1001 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
575     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1001 (0xFFFFFFFFU)
576     /* @brief FlexNVM partition code 1010 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
577     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1010 (0xFFFFFFFFU)
578     /* @brief FlexNVM partition code 1011 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
579     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1011 (0xFFFFFFFFU)
580     /* @brief FlexNVM partition code 1100 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
581     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1100 (0xFFFFFFFFU)
582     /* @brief FlexNVM partition code 1101 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
583     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1101 (0xFFFFFFFFU)
584     /* @brief FlexNVM partition code 1110 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
585     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1110 (0xFFFFFFFFU)
586     /* @brief FlexNVM partition code 1111 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
587     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1111 (0xFFFFFFFFU)
588     /* @brief Emulated eeprom size code 0000 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
589     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0000 (0xFFFF)
590     /* @brief Emulated eeprom size code 0001 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
591     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0001 (0xFFFF)
592     /* @brief Emulated eeprom size code 0010 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
593     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0010 (0xFFFF)
594     /* @brief Emulated eeprom size code 0011 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
595     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0011 (0xFFFF)
596     /* @brief Emulated eeprom size code 0100 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
597     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0100 (0xFFFF)
598     /* @brief Emulated eeprom size code 0101 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
599     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0101 (0xFFFF)
600     /* @brief Emulated eeprom size code 0110 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
601     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0110 (0xFFFF)
602     /* @brief Emulated eeprom size code 0111 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
603     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0111 (0xFFFF)
604     /* @brief Emulated eeprom size code 1000 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
605     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1000 (0xFFFF)
606     /* @brief Emulated eeprom size code 1001 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
607     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1001 (0xFFFF)
608     /* @brief Emulated eeprom size code 1010 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
609     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1010 (0xFFFF)
610     /* @brief Emulated eeprom size code 1011 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
611     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1011 (0xFFFF)
612     /* @brief Emulated eeprom size code 1100 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
613     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1100 (0xFFFF)
614     /* @brief Emulated eeprom size code 1101 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
615     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1101 (0xFFFF)
616     /* @brief Emulated eeprom size code 1110 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
617     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1110 (0xFFFF)
618     /* @brief Emulated eeprom size code 1111 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
619     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1111 (0xFFFF)
620 #endif /* defined(CPU_MKL17Z32VDA4) || defined(CPU_MKL17Z32VFM4) || defined(CPU_MKL17Z32VFT4) || defined(CPU_MKL17Z32VLH4) || \
621     defined(CPU_MKL17Z32VMP4) */
622 
623 /* GPIO module features */
624 
625 /* @brief Has GPIO attribute checker register (GACR). */
626 #define FSL_FEATURE_GPIO_HAS_ATTRIBUTE_CHECKER (0)
627 
628 /* I2C module features */
629 
630 /* @brief Has System Management Bus support (registers SMB, A2, SLTL and SLTH). */
631 #define FSL_FEATURE_I2C_HAS_SMBUS (1)
632 /* @brief Maximum supported baud rate in kilobit per second. */
633 #define FSL_FEATURE_I2C_MAX_BAUD_KBPS (400)
634 /* @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). */
635 #define FSL_FEATURE_I2C_HAS_ERRATA_6070 (0)
636 /* @brief Has DMA support (register bit C1[DMAEN]). */
637 #define FSL_FEATURE_I2C_HAS_DMA_SUPPORT (1)
638 /* @brief Has I2C bus start and stop detection (register bits FLT[SSIE], FLT[STARTF] and FLT[STOPF]). */
639 #define FSL_FEATURE_I2C_HAS_START_STOP_DETECT (1)
640 /* @brief Has I2C bus stop detection (register bits FLT[STOPIE] and FLT[STOPF]). */
641 #define FSL_FEATURE_I2C_HAS_STOP_DETECT (0)
642 /* @brief Has I2C bus stop hold off (register bit FLT[SHEN]). */
643 #define FSL_FEATURE_I2C_HAS_STOP_HOLD_OFF (1)
644 /* @brief Maximum width of the glitch filter in number of bus clocks. */
645 #define FSL_FEATURE_I2C_MAX_GLITCH_FILTER_WIDTH (15)
646 /* @brief Has control of the drive capability of the I2C pins. */
647 #define FSL_FEATURE_I2C_HAS_HIGH_DRIVE_SELECTION (1)
648 /* @brief Has double buffering support (register S2). */
649 #define FSL_FEATURE_I2C_HAS_DOUBLE_BUFFERING (1)
650 /* @brief Has double buffer enable. */
651 #define FSL_FEATURE_I2C_HAS_DOUBLE_BUFFER_ENABLE (0)
652 
653 /* LLWU module features */
654 
655 /* @brief Maximum number of pins (maximal index plus one) connected to LLWU device. */
656 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN (16)
657 /* @brief Has pins 8-15 connected to LLWU device. */
658 #define FSL_FEATURE_LLWU_EXTERNAL_PIN_GROUP2 (1)
659 /* @brief Maximum number of internal modules connected to LLWU device. */
660 #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE (8)
661 /* @brief Number of digital filters. */
662 #define FSL_FEATURE_LLWU_HAS_PIN_FILTER (2)
663 /* @brief Has MF register. */
664 #define FSL_FEATURE_LLWU_HAS_MF (0)
665 /* @brief Has PF register. */
666 #define FSL_FEATURE_LLWU_HAS_PF (0)
667 /* @brief Has possibility to enable reset in low leakage power mode and enable digital filter for RESET pin (register LLWU_RST). */
668 #define FSL_FEATURE_LLWU_HAS_RESET_ENABLE (0)
669 /* @brief Has no internal module wakeup flag register. */
670 #define FSL_FEATURE_LLWU_HAS_NO_INTERNAL_MODULE_WAKEUP_FLAG_REG (0)
671 /* @brief Has external pin 0 connected to LLWU device. */
672 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN0 (0)
673 /* @brief Index of port of external pin. */
674 #define FSL_FEATURE_LLWU_PIN0_GPIO_IDX (0)
675 /* @brief Number of external pin port on specified port. */
676 #define FSL_FEATURE_LLWU_PIN0_GPIO_PIN (0)
677 /* @brief Has external pin 1 connected to LLWU device. */
678 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN1 (0)
679 /* @brief Index of port of external pin. */
680 #define FSL_FEATURE_LLWU_PIN1_GPIO_IDX (0)
681 /* @brief Number of external pin port on specified port. */
682 #define FSL_FEATURE_LLWU_PIN1_GPIO_PIN (0)
683 /* @brief Has external pin 2 connected to LLWU device. */
684 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN2 (0)
685 /* @brief Index of port of external pin. */
686 #define FSL_FEATURE_LLWU_PIN2_GPIO_IDX (0)
687 /* @brief Number of external pin port on specified port. */
688 #define FSL_FEATURE_LLWU_PIN2_GPIO_PIN (0)
689 /* @brief Has external pin 3 connected to LLWU device. */
690 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN3 (0)
691 /* @brief Index of port of external pin. */
692 #define FSL_FEATURE_LLWU_PIN3_GPIO_IDX (0)
693 /* @brief Number of external pin port on specified port. */
694 #define FSL_FEATURE_LLWU_PIN3_GPIO_PIN (0)
695 /* @brief Has external pin 4 connected to LLWU device. */
696 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN4 (0)
697 /* @brief Index of port of external pin. */
698 #define FSL_FEATURE_LLWU_PIN4_GPIO_IDX (0)
699 /* @brief Number of external pin port on specified port. */
700 #define FSL_FEATURE_LLWU_PIN4_GPIO_PIN (0)
701 /* @brief Has external pin 5 connected to LLWU device. */
702 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN5 (1)
703 /* @brief Index of port of external pin. */
704 #define FSL_FEATURE_LLWU_PIN5_GPIO_IDX (GPIOB_IDX)
705 /* @brief Number of external pin port on specified port. */
706 #define FSL_FEATURE_LLWU_PIN5_GPIO_PIN (0)
707 /* @brief Has external pin 6 connected to LLWU device. */
708 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN6 (1)
709 /* @brief Index of port of external pin. */
710 #define FSL_FEATURE_LLWU_PIN6_GPIO_IDX (GPIOC_IDX)
711 /* @brief Number of external pin port on specified port. */
712 #define FSL_FEATURE_LLWU_PIN6_GPIO_PIN (1)
713 /* @brief Has external pin 7 connected to LLWU device. */
714 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN7 (1)
715 /* @brief Index of port of external pin. */
716 #define FSL_FEATURE_LLWU_PIN7_GPIO_IDX (GPIOC_IDX)
717 /* @brief Number of external pin port on specified port. */
718 #define FSL_FEATURE_LLWU_PIN7_GPIO_PIN (3)
719 /* @brief Has external pin 8 connected to LLWU device. */
720 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN8 (1)
721 /* @brief Index of port of external pin. */
722 #define FSL_FEATURE_LLWU_PIN8_GPIO_IDX (GPIOC_IDX)
723 /* @brief Number of external pin port on specified port. */
724 #define FSL_FEATURE_LLWU_PIN8_GPIO_PIN (4)
725 /* @brief Has external pin 9 connected to LLWU device. */
726 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN9 (1)
727 /* @brief Index of port of external pin. */
728 #define FSL_FEATURE_LLWU_PIN9_GPIO_IDX (GPIOC_IDX)
729 /* @brief Number of external pin port on specified port. */
730 #define FSL_FEATURE_LLWU_PIN9_GPIO_PIN (5)
731 /* @brief Has external pin 10 connected to LLWU device. */
732 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN10 (1)
733 /* @brief Index of port of external pin. */
734 #define FSL_FEATURE_LLWU_PIN10_GPIO_IDX (GPIOC_IDX)
735 /* @brief Number of external pin port on specified port. */
736 #define FSL_FEATURE_LLWU_PIN10_GPIO_PIN (6)
737 /* @brief Has external pin 11 connected to LLWU device. */
738 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN11 (0)
739 /* @brief Index of port of external pin. */
740 #define FSL_FEATURE_LLWU_PIN11_GPIO_IDX (0)
741 /* @brief Number of external pin port on specified port. */
742 #define FSL_FEATURE_LLWU_PIN11_GPIO_PIN (0)
743 /* @brief Has external pin 12 connected to LLWU device. */
744 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN12 (0)
745 /* @brief Index of port of external pin. */
746 #define FSL_FEATURE_LLWU_PIN12_GPIO_IDX (0)
747 /* @brief Number of external pin port on specified port. */
748 #define FSL_FEATURE_LLWU_PIN12_GPIO_PIN (0)
749 /* @brief Has external pin 13 connected to LLWU device. */
750 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN13 (0)
751 /* @brief Index of port of external pin. */
752 #define FSL_FEATURE_LLWU_PIN13_GPIO_IDX (0)
753 /* @brief Number of external pin port on specified port. */
754 #define FSL_FEATURE_LLWU_PIN13_GPIO_PIN (0)
755 /* @brief Has external pin 14 connected to LLWU device. */
756 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN14 (1)
757 /* @brief Index of port of external pin. */
758 #define FSL_FEATURE_LLWU_PIN14_GPIO_IDX (GPIOD_IDX)
759 /* @brief Number of external pin port on specified port. */
760 #define FSL_FEATURE_LLWU_PIN14_GPIO_PIN (4)
761 /* @brief Has external pin 15 connected to LLWU device. */
762 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN15 (1)
763 /* @brief Index of port of external pin. */
764 #define FSL_FEATURE_LLWU_PIN15_GPIO_IDX (GPIOD_IDX)
765 /* @brief Number of external pin port on specified port. */
766 #define FSL_FEATURE_LLWU_PIN15_GPIO_PIN (6)
767 /* @brief Has external pin 16 connected to LLWU device. */
768 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN16 (0)
769 /* @brief Index of port of external pin. */
770 #define FSL_FEATURE_LLWU_PIN16_GPIO_IDX (0)
771 /* @brief Number of external pin port on specified port. */
772 #define FSL_FEATURE_LLWU_PIN16_GPIO_PIN (0)
773 /* @brief Has external pin 17 connected to LLWU device. */
774 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN17 (0)
775 /* @brief Index of port of external pin. */
776 #define FSL_FEATURE_LLWU_PIN17_GPIO_IDX (0)
777 /* @brief Number of external pin port on specified port. */
778 #define FSL_FEATURE_LLWU_PIN17_GPIO_PIN (0)
779 /* @brief Has external pin 18 connected to LLWU device. */
780 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN18 (0)
781 /* @brief Index of port of external pin. */
782 #define FSL_FEATURE_LLWU_PIN18_GPIO_IDX (0)
783 /* @brief Number of external pin port on specified port. */
784 #define FSL_FEATURE_LLWU_PIN18_GPIO_PIN (0)
785 /* @brief Has external pin 19 connected to LLWU device. */
786 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN19 (0)
787 /* @brief Index of port of external pin. */
788 #define FSL_FEATURE_LLWU_PIN19_GPIO_IDX (0)
789 /* @brief Number of external pin port on specified port. */
790 #define FSL_FEATURE_LLWU_PIN19_GPIO_PIN (0)
791 /* @brief Has external pin 20 connected to LLWU device. */
792 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN20 (0)
793 /* @brief Index of port of external pin. */
794 #define FSL_FEATURE_LLWU_PIN20_GPIO_IDX (0)
795 /* @brief Number of external pin port on specified port. */
796 #define FSL_FEATURE_LLWU_PIN20_GPIO_PIN (0)
797 /* @brief Has external pin 21 connected to LLWU device. */
798 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN21 (0)
799 /* @brief Index of port of external pin. */
800 #define FSL_FEATURE_LLWU_PIN21_GPIO_IDX (0)
801 /* @brief Number of external pin port on specified port. */
802 #define FSL_FEATURE_LLWU_PIN21_GPIO_PIN (0)
803 /* @brief Has external pin 22 connected to LLWU device. */
804 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN22 (0)
805 /* @brief Index of port of external pin. */
806 #define FSL_FEATURE_LLWU_PIN22_GPIO_IDX (0)
807 /* @brief Number of external pin port on specified port. */
808 #define FSL_FEATURE_LLWU_PIN22_GPIO_PIN (0)
809 /* @brief Has external pin 23 connected to LLWU device. */
810 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN23 (0)
811 /* @brief Index of port of external pin. */
812 #define FSL_FEATURE_LLWU_PIN23_GPIO_IDX (0)
813 /* @brief Number of external pin port on specified port. */
814 #define FSL_FEATURE_LLWU_PIN23_GPIO_PIN (0)
815 /* @brief Has external pin 24 connected to LLWU device. */
816 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN24 (0)
817 /* @brief Index of port of external pin. */
818 #define FSL_FEATURE_LLWU_PIN24_GPIO_IDX (0)
819 /* @brief Number of external pin port on specified port. */
820 #define FSL_FEATURE_LLWU_PIN24_GPIO_PIN (0)
821 /* @brief Has external pin 25 connected to LLWU device. */
822 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN25 (0)
823 /* @brief Index of port of external pin. */
824 #define FSL_FEATURE_LLWU_PIN25_GPIO_IDX (0)
825 /* @brief Number of external pin port on specified port. */
826 #define FSL_FEATURE_LLWU_PIN25_GPIO_PIN (0)
827 /* @brief Has external pin 26 connected to LLWU device. */
828 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN26 (0)
829 /* @brief Index of port of external pin. */
830 #define FSL_FEATURE_LLWU_PIN26_GPIO_IDX (0)
831 /* @brief Number of external pin port on specified port. */
832 #define FSL_FEATURE_LLWU_PIN26_GPIO_PIN (0)
833 /* @brief Has external pin 27 connected to LLWU device. */
834 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN27 (0)
835 /* @brief Index of port of external pin. */
836 #define FSL_FEATURE_LLWU_PIN27_GPIO_IDX (0)
837 /* @brief Number of external pin port on specified port. */
838 #define FSL_FEATURE_LLWU_PIN27_GPIO_PIN (0)
839 /* @brief Has external pin 28 connected to LLWU device. */
840 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN28 (0)
841 /* @brief Index of port of external pin. */
842 #define FSL_FEATURE_LLWU_PIN28_GPIO_IDX (0)
843 /* @brief Number of external pin port on specified port. */
844 #define FSL_FEATURE_LLWU_PIN28_GPIO_PIN (0)
845 /* @brief Has external pin 29 connected to LLWU device. */
846 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN29 (0)
847 /* @brief Index of port of external pin. */
848 #define FSL_FEATURE_LLWU_PIN29_GPIO_IDX (0)
849 /* @brief Number of external pin port on specified port. */
850 #define FSL_FEATURE_LLWU_PIN29_GPIO_PIN (0)
851 /* @brief Has external pin 30 connected to LLWU device. */
852 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN30 (0)
853 /* @brief Index of port of external pin. */
854 #define FSL_FEATURE_LLWU_PIN30_GPIO_IDX (0)
855 /* @brief Number of external pin port on specified port. */
856 #define FSL_FEATURE_LLWU_PIN30_GPIO_PIN (0)
857 /* @brief Has external pin 31 connected to LLWU device. */
858 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN31 (0)
859 /* @brief Index of port of external pin. */
860 #define FSL_FEATURE_LLWU_PIN31_GPIO_IDX (0)
861 /* @brief Number of external pin port on specified port. */
862 #define FSL_FEATURE_LLWU_PIN31_GPIO_PIN (0)
863 /* @brief Has internal module 0 connected to LLWU device. */
864 #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE0 (1)
865 /* @brief Has internal module 1 connected to LLWU device. */
866 #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE1 (1)
867 /* @brief Has internal module 2 connected to LLWU device. */
868 #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE2 (0)
869 /* @brief Has internal module 3 connected to LLWU device. */
870 #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE3 (0)
871 /* @brief Has internal module 4 connected to LLWU device. */
872 #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE4 (0)
873 /* @brief Has internal module 5 connected to LLWU device. */
874 #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE5 (1)
875 /* @brief Has internal module 6 connected to LLWU device. */
876 #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE6 (0)
877 /* @brief Has internal module 7 connected to LLWU device. */
878 #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE7 (1)
879 /* @brief Has Version ID Register (LLWU_VERID). */
880 #define FSL_FEATURE_LLWU_HAS_VERID (0)
881 /* @brief Has Parameter Register (LLWU_PARAM). */
882 #define FSL_FEATURE_LLWU_HAS_PARAM (0)
883 /* @brief Width of registers of the LLWU. */
884 #define FSL_FEATURE_LLWU_REG_BITWIDTH (8)
885 /* @brief Has DMA Enable register (LLWU_DE). */
886 #define FSL_FEATURE_LLWU_HAS_DMA_ENABLE_REG (0)
887 
888 /* LPTMR module features */
889 
890 /* @brief Has shared interrupt handler with another LPTMR module. */
891 #define FSL_FEATURE_LPTMR_HAS_SHARED_IRQ_HANDLER (0)
892 /* @brief Whether LPTMR counter is 32 bits width. */
893 #define FSL_FEATURE_LPTMR_CNR_WIDTH_IS_32B (0)
894 /* @brief Has timer DMA request enable (register bit CSR[TDRE]). */
895 #define FSL_FEATURE_LPTMR_HAS_CSR_TDRE (0)
896 
897 /* LPUART module features */
898 
899 /* @brief LPUART0 and LPUART1 has shared interrupt vector. */
900 #define FSL_FEATURE_LPUART_HAS_SHARED_IRQ0_IRQ1 (0)
901 /* @brief Has receive FIFO overflow detection (bit field CFIFO[RXOFE]). */
902 #define FSL_FEATURE_LPUART_HAS_IRQ_EXTENDED_FUNCTIONS (0)
903 /* @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). */
904 #define FSL_FEATURE_LPUART_HAS_LOW_POWER_UART_SUPPORT (1)
905 /* @brief Has extended data register ED (or extra flags in the DATA register if the registers are 32-bit wide). */
906 #define FSL_FEATURE_LPUART_HAS_EXTENDED_DATA_REGISTER_FLAGS (1)
907 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
908 #define FSL_FEATURE_LPUART_HAS_FIFO (0)
909 /* @brief Has 32-bit register MODIR */
910 #define FSL_FEATURE_LPUART_HAS_MODIR (0)
911 /* @brief Hardware flow control (RTS, CTS) is supported. */
912 #define FSL_FEATURE_LPUART_HAS_MODEM_SUPPORT (0)
913 /* @brief Infrared (modulation) is supported. */
914 #define FSL_FEATURE_LPUART_HAS_IR_SUPPORT (0)
915 /* @brief 2 bits long stop bit is available. */
916 #define FSL_FEATURE_LPUART_HAS_STOP_BIT_CONFIG_SUPPORT (1)
917 /* @brief If 10-bit mode is supported. */
918 #define FSL_FEATURE_LPUART_HAS_10BIT_DATA_SUPPORT (1)
919 /* @brief If 7-bit mode is supported. */
920 #define FSL_FEATURE_LPUART_HAS_7BIT_DATA_SUPPORT (0)
921 /* @brief Baud rate fine adjustment is available. */
922 #define FSL_FEATURE_LPUART_HAS_BAUD_RATE_FINE_ADJUST_SUPPORT (0)
923 /* @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). */
924 #define FSL_FEATURE_LPUART_HAS_BAUD_RATE_OVER_SAMPLING_SUPPORT (1)
925 /* @brief Baud rate oversampling is available. */
926 #define FSL_FEATURE_LPUART_HAS_RX_RESYNC_SUPPORT (1)
927 /* @brief Baud rate oversampling is available. */
928 #define FSL_FEATURE_LPUART_HAS_BOTH_EDGE_SAMPLING_SUPPORT (1)
929 /* @brief Peripheral type. */
930 #define FSL_FEATURE_LPUART_IS_SCI (1)
931 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
932 #define FSL_FEATURE_LPUART_FIFO_SIZEn(x) (0)
933 /* @brief Supports two match addresses to filter incoming frames. */
934 #define FSL_FEATURE_LPUART_HAS_ADDRESS_MATCHING (1)
935 /* @brief Has transmitter/receiver DMA enable bits C5[TDMAE]/C5[RDMAE] (or BAUD[TDMAE]/BAUD[RDMAE] if the registers are 32-bit wide). */
936 #define FSL_FEATURE_LPUART_HAS_DMA_ENABLE (1)
937 /* @brief Has transmitter/receiver DMA select bits C4[TDMAS]/C4[RDMAS], resp. C5[TDMAS]/C5[RDMAS] if IS_SCI = 0. */
938 #define FSL_FEATURE_LPUART_HAS_DMA_SELECT (0)
939 /* @brief Data character bit order selection is supported (bit field S2[MSBF] or STAT[MSBF] if the registers are 32-bit wide). */
940 #define FSL_FEATURE_LPUART_HAS_BIT_ORDER_SELECT (1)
941 /* @brief Has smart card (ISO7816 protocol) support and no improved smart card support. */
942 #define FSL_FEATURE_LPUART_HAS_SMART_CARD_SUPPORT (0)
943 /* @brief Has improved smart card (ISO7816 protocol) support. */
944 #define FSL_FEATURE_LPUART_HAS_IMPROVED_SMART_CARD_SUPPORT (0)
945 /* @brief Has local operation network (CEA709.1-B protocol) support. */
946 #define FSL_FEATURE_LPUART_HAS_LOCAL_OPERATION_NETWORK_SUPPORT (0)
947 /* @brief Has 32-bit registers (BAUD, STAT, CTRL, DATA, MATCH, MODIR) instead of 8-bit (BDH, BDL, C1, S1, D, etc.). */
948 #define FSL_FEATURE_LPUART_HAS_32BIT_REGISTERS (1)
949 /* @brief Lin break detect available (has bit BAUD[LBKDIE]). */
950 #define FSL_FEATURE_LPUART_HAS_LIN_BREAK_DETECT (1)
951 /* @brief UART stops in Wait mode available (has bit C1[UARTSWAI]). */
952 #define FSL_FEATURE_LPUART_HAS_WAIT_MODE_OPERATION (0)
953 /* @brief Has separate DMA RX and TX requests. */
954 #define FSL_FEATURE_LPUART_HAS_SEPARATE_DMA_RX_TX_REQn(x) (1)
955 /* @brief Has separate RX and TX interrupts. */
956 #define FSL_FEATURE_LPUART_HAS_SEPARATE_RX_TX_IRQ (0)
957 /* @brief Has LPAURT_PARAM. */
958 #define FSL_FEATURE_LPUART_HAS_PARAM (0)
959 /* @brief Has LPUART_VERID. */
960 #define FSL_FEATURE_LPUART_HAS_VERID (0)
961 /* @brief Has LPUART_GLOBAL. */
962 #define FSL_FEATURE_LPUART_HAS_GLOBAL (0)
963 /* @brief Has LPUART_PINCFG. */
964 #define FSL_FEATURE_LPUART_HAS_PINCFG (0)
965 
966 /* MCGLITE module features */
967 
968 /* @brief Defines that clock generator is MCG Lite. */
969 #define FSL_FEATURE_MCGLITE_MCGLITE (1)
970 /* @brief Has Crystal Oscillator Operation Mode Selection. */
971 #define FSL_FEATURE_MCGLITE_HAS_HGO0 (1)
972 /* @brief Has HCTRIM register available. */
973 #define FSL_FEATURE_MCGLITE_HAS_HCTRIM (0)
974 /* @brief Has HTTRIM register available. */
975 #define FSL_FEATURE_MCGLITE_HAS_HTTRIM (0)
976 /* @brief Has HFTRIM register available. */
977 #define FSL_FEATURE_MCGLITE_HAS_HFTRIM (0)
978 /* @brief Has LTRIMRNG register available. */
979 #define FSL_FEATURE_MCGLITE_HAS_LTRIMRNG (0)
980 /* @brief Has LFTRIM register available. */
981 #define FSL_FEATURE_MCGLITE_HAS_LFTRIM (0)
982 /* @brief Has LSTRIM register available. */
983 #define FSL_FEATURE_MCGLITE_HAS_LSTRIM (0)
984 /* @brief Has External Clock Source Frequency Range Selection. */
985 #define FSL_FEATURE_MCGLITE_HAS_RANGE0 (1)
986 
987 /* interrupt module features */
988 
989 /* @brief Lowest interrupt request number. */
990 #define FSL_FEATURE_INTERRUPT_IRQ_MIN (-14)
991 /* @brief Highest interrupt request number. */
992 #define FSL_FEATURE_INTERRUPT_IRQ_MAX (31)
993 
994 /* OSC module features */
995 
996 /* @brief Has OSC1 external oscillator. */
997 #define FSL_FEATURE_OSC_HAS_OSC1 (0)
998 /* @brief Has OSC0 external oscillator. */
999 #define FSL_FEATURE_OSC_HAS_OSC0 (1)
1000 /* @brief Has OSC external oscillator (without index). */
1001 #define FSL_FEATURE_OSC_HAS_OSC (0)
1002 /* @brief Number of OSC external oscillators. */
1003 #define FSL_FEATURE_OSC_OSC_COUNT (1)
1004 /* @brief Has external reference clock divider (register bit field DIV[ERPS]). */
1005 #define FSL_FEATURE_OSC_HAS_EXT_REF_CLOCK_DIVIDER (0)
1006 
1007 /* PIT module features */
1008 
1009 /* @brief Number of channels (related to number of registers LDVALn, CVALn, TCTRLn, TFLGn). */
1010 #define FSL_FEATURE_PIT_TIMER_COUNT (2)
1011 /* @brief Has lifetime timer (related to existence of registers LTMR64L and LTMR64H). */
1012 #define FSL_FEATURE_PIT_HAS_LIFETIME_TIMER (1)
1013 /* @brief Has chain mode (related to existence of register bit field TCTRLn[CHN]). */
1014 #define FSL_FEATURE_PIT_HAS_CHAIN_MODE (1)
1015 /* @brief Has shared interrupt handler (has not individual interrupt handler for each channel). */
1016 #define FSL_FEATURE_PIT_HAS_SHARED_IRQ_HANDLER (1)
1017 /* @brief Has timer enable control. */
1018 #define FSL_FEATURE_PIT_HAS_MDIS (1)
1019 
1020 /* PMC module features */
1021 
1022 /* @brief Has Bandgap Enable In VLPx Operation support. */
1023 #define FSL_FEATURE_PMC_HAS_BGEN (1)
1024 /* @brief Has Bandgap Buffer Enable. */
1025 #define FSL_FEATURE_PMC_HAS_BGBE (1)
1026 /* @brief Has Bandgap Buffer Drive Select. */
1027 #define FSL_FEATURE_PMC_HAS_BGBDS (0)
1028 /* @brief Has Low-Voltage Detect Voltage Select support. */
1029 #define FSL_FEATURE_PMC_HAS_LVDV (1)
1030 /* @brief Has Low-Voltage Warning Voltage Select support. */
1031 #define FSL_FEATURE_PMC_HAS_LVWV (1)
1032 /* @brief Has LPO. */
1033 #define FSL_FEATURE_PMC_HAS_LPO (0)
1034 /* @brief Has VLPx option PMC_REGSC[VLPO]. */
1035 #define FSL_FEATURE_PMC_HAS_VLPO (1)
1036 /* @brief Has acknowledge isolation support. */
1037 #define FSL_FEATURE_PMC_HAS_ACKISO (1)
1038 /* @brief Has Regulator In Full Performance Mode Status Bit PMC_REGSC[REGFPM]. */
1039 #define FSL_FEATURE_PMC_HAS_REGFPM (0)
1040 /* @brief Has Regulator In Run Regulation Status Bit PMC_REGSC[REGONS]. */
1041 #define FSL_FEATURE_PMC_HAS_REGONS (1)
1042 /* @brief Has PMC_HVDSC1. */
1043 #define FSL_FEATURE_PMC_HAS_HVDSC1 (0)
1044 /* @brief Has PMC_PARAM. */
1045 #define FSL_FEATURE_PMC_HAS_PARAM (0)
1046 /* @brief Has PMC_VERID. */
1047 #define FSL_FEATURE_PMC_HAS_VERID (0)
1048 
1049 /* PORT module features */
1050 
1051 /* @brief Has control lock (register bit PCR[LK]). */
1052 #define FSL_FEATURE_PORT_HAS_PIN_CONTROL_LOCK (0)
1053 /* @brief Has open drain control (register bit PCR[ODE]). */
1054 #define FSL_FEATURE_PORT_HAS_OPEN_DRAIN (0)
1055 /* @brief Has digital filter (registers DFER, DFCR and DFWR). */
1056 #define FSL_FEATURE_PORT_HAS_DIGITAL_FILTER (0)
1057 /* @brief Has DMA request (register bit field PCR[IRQC] values). */
1058 #define FSL_FEATURE_PORT_HAS_DMA_REQUEST (1)
1059 /* @brief Has pull resistor selection available. */
1060 #define FSL_FEATURE_PORT_HAS_PULL_SELECTION (1)
1061 /* @brief Has pull resistor enable (register bit PCR[PE]). */
1062 #define FSL_FEATURE_PORT_HAS_PULL_ENABLE (1)
1063 /* @brief Has slew rate control (register bit PCR[SRE]). */
1064 #define FSL_FEATURE_PORT_HAS_SLEW_RATE (1)
1065 /* @brief Has passive filter (register bit field PCR[PFE]). */
1066 #define FSL_FEATURE_PORT_HAS_PASSIVE_FILTER (1)
1067 /* @brief Has drive strength control (register bit PCR[DSE]). */
1068 #define FSL_FEATURE_PORT_HAS_DRIVE_STRENGTH (1)
1069 /* @brief Has separate drive strength register (HDRVE). */
1070 #define FSL_FEATURE_PORT_HAS_DRIVE_STRENGTH_REGISTER (0)
1071 /* @brief Has glitch filter (register IOFLT). */
1072 #define FSL_FEATURE_PORT_HAS_GLITCH_FILTER (0)
1073 /* @brief Defines width of PCR[MUX] field. */
1074 #define FSL_FEATURE_PORT_PCR_MUX_WIDTH (3)
1075 /* @brief Has dedicated interrupt vector. */
1076 #define FSL_FEATURE_PORT_HAS_INTERRUPT_VECTOR (1)
1077 /* @brief Has multiple pin IRQ configuration (register GICLR and GICHR). */
1078 #define FSL_FEATURE_PORT_HAS_MULTIPLE_IRQ_CONFIG (0)
1079 /* @brief Defines whether PCR[IRQC] bit-field has flag states. */
1080 #define FSL_FEATURE_PORT_HAS_IRQC_FLAG (0)
1081 /* @brief Defines whether PCR[IRQC] bit-field has trigger states. */
1082 #define FSL_FEATURE_PORT_HAS_IRQC_TRIGGER (0)
1083 
1084 /* RCM module features */
1085 
1086 /* @brief Has Loss-of-Lock Reset support. */
1087 #define FSL_FEATURE_RCM_HAS_LOL (0)
1088 /* @brief Has Loss-of-Clock Reset support. */
1089 #define FSL_FEATURE_RCM_HAS_LOC (0)
1090 /* @brief Has JTAG generated Reset support. */
1091 #define FSL_FEATURE_RCM_HAS_JTAG (0)
1092 /* @brief Has EzPort generated Reset support. */
1093 #define FSL_FEATURE_RCM_HAS_EZPORT (0)
1094 /* @brief Has bit-field indicating EZP_MS_B pin state during last reset. */
1095 #define FSL_FEATURE_RCM_HAS_EZPMS (0)
1096 /* @brief Has boot ROM configuration, MR[BOOTROM], FM[FORCEROM] */
1097 #define FSL_FEATURE_RCM_HAS_BOOTROM (1)
1098 /* @brief Has sticky system reset status register RCM_SSRS0 and RCM_SSRS1. */
1099 #define FSL_FEATURE_RCM_HAS_SSRS (1)
1100 /* @brief Has Version ID Register (RCM_VERID). */
1101 #define FSL_FEATURE_RCM_HAS_VERID (0)
1102 /* @brief Has Parameter Register (RCM_PARAM). */
1103 #define FSL_FEATURE_RCM_HAS_PARAM (0)
1104 /* @brief Has Reset Interrupt Enable Register RCM_SRIE. */
1105 #define FSL_FEATURE_RCM_HAS_SRIE (0)
1106 /* @brief Width of registers of the RCM. */
1107 #define FSL_FEATURE_RCM_REG_WIDTH (8)
1108 /* @brief Has Core 1 generated Reset support RCM_SRS[CORE1] */
1109 #define FSL_FEATURE_RCM_HAS_CORE1 (0)
1110 /* @brief Has MDM-AP system reset support RCM_SRS1[MDM_AP] */
1111 #define FSL_FEATURE_RCM_HAS_MDM_AP (1)
1112 /* @brief Has wakeup reset feature. Register bit SRS[WAKEUP]. */
1113 #define FSL_FEATURE_RCM_HAS_WAKEUP (1)
1114 
1115 /* RTC module features */
1116 
1117 /* @brief Has wakeup pin. */
1118 #define FSL_FEATURE_RTC_HAS_WAKEUP_PIN (1)
1119 /* @brief Has wakeup pin selection (bit field CR[WPS]). */
1120 #define FSL_FEATURE_RTC_HAS_WAKEUP_PIN_SELECTION (1)
1121 /* @brief Has low power features (registers MER, MCLR and MCHR). */
1122 #define FSL_FEATURE_RTC_HAS_MONOTONIC (0)
1123 /* @brief Has read/write access control (registers WAR and RAR). */
1124 #define FSL_FEATURE_RTC_HAS_ACCESS_CONTROL (0)
1125 /* @brief Has security features (registers TTSR, MER, MCLR and MCHR). */
1126 #define FSL_FEATURE_RTC_HAS_SECURITY (0)
1127 /* @brief Has RTC_CLKIN available. */
1128 #define FSL_FEATURE_RTC_HAS_RTC_CLKIN (1)
1129 /* @brief Has prescaler adjust for LPO. */
1130 #define FSL_FEATURE_RTC_HAS_LPO_ADJUST (0)
1131 /* @brief Has Clock Pin Enable field. */
1132 #define FSL_FEATURE_RTC_HAS_CPE (0)
1133 /* @brief Has Timer Seconds Interrupt Configuration field. */
1134 #define FSL_FEATURE_RTC_HAS_TSIC (0)
1135 /* @brief Has OSC capacitor setting RTC_CR[SC2P ~ SC16P] */
1136 #define FSL_FEATURE_RTC_HAS_OSC_SCXP (1)
1137 /* @brief Has Tamper Interrupt Register (register TIR). */
1138 #define FSL_FEATURE_RTC_HAS_TIR (0)
1139 /* @brief Has Tamper Pin Interrupt Enable (bitfield TIR[TPIE]). */
1140 #define FSL_FEATURE_RTC_HAS_TIR_TPIE (0)
1141 /* @brief Has Security Interrupt Enable (bitfield TIR[SIE]). */
1142 #define FSL_FEATURE_RTC_HAS_TIR_SIE (0)
1143 /* @brief Has Loss of Clock Interrupt Enable (bitfield TIR[LCIE]). */
1144 #define FSL_FEATURE_RTC_HAS_TIR_LCIE (0)
1145 /* @brief Has Tamper Interrupt Detect Flag (bitfield SR[TIDF]). */
1146 #define FSL_FEATURE_RTC_HAS_SR_TIDF (0)
1147 /* @brief Has Tamper Detect Register (register TDR). */
1148 #define FSL_FEATURE_RTC_HAS_TDR (0)
1149 /* @brief Has Tamper Pin Flag (bitfield TDR[TPF]). */
1150 #define FSL_FEATURE_RTC_HAS_TDR_TPF (0)
1151 /* @brief Has Security Tamper Flag (bitfield TDR[STF]). */
1152 #define FSL_FEATURE_RTC_HAS_TDR_STF (0)
1153 /* @brief Has Loss of Clock Tamper Flag (bitfield TDR[LCTF]). */
1154 #define FSL_FEATURE_RTC_HAS_TDR_LCTF (0)
1155 /* @brief Has Tamper Time Seconds Register (register TTSR). */
1156 #define FSL_FEATURE_RTC_HAS_TTSR (0)
1157 /* @brief Has Pin Configuration Register (register PCR). */
1158 #define FSL_FEATURE_RTC_HAS_PCR (0)
1159 
1160 /* SIM module features */
1161 
1162 /* @brief Has USB FS divider. */
1163 #define FSL_FEATURE_SIM_USBFS_USE_SPECIAL_DIVIDER (0)
1164 /* @brief Is PLL clock divided by 2 before MCG PLL/FLL clock selection. */
1165 #define FSL_FEATURE_SIM_PLLCLK_USE_SPECIAL_DIVIDER (0)
1166 /* @brief Has RAM size specification (register bit field SOPT1[RAMSIZE]). */
1167 #define FSL_FEATURE_SIM_OPT_HAS_RAMSIZE (0)
1168 /* @brief Has 32k oscillator clock output (register bit SOPT1[OSC32KOUT]). */
1169 #define FSL_FEATURE_SIM_OPT_HAS_OSC32K_OUT (1)
1170 /* @brief Has 32k oscillator clock selection (register bit field SOPT1[OSC32KSEL]). */
1171 #define FSL_FEATURE_SIM_OPT_HAS_OSC32K_SELECTION (1)
1172 /* @brief 32k oscillator clock selection width (width of register bit field SOPT1[OSC32KSEL]). */
1173 #define FSL_FEATURE_SIM_OPT_OSC32K_SELECTION_WIDTH (2)
1174 /* @brief Has RTC clock output selection (register bit SOPT2[RTCCLKOUTSEL]). */
1175 #define FSL_FEATURE_SIM_OPT_HAS_RTC_CLOCK_OUT_SELECTION (1)
1176 /* @brief Has USB voltage regulator (register bits SOPT1[USBVSTBY], SOPT1[USBSSTBY], SOPT1[USBREGEN], SOPT1CFG[URWE], SOPT1CFG[UVSWE], SOPT1CFG[USSWE]). */
1177 #define FSL_FEATURE_SIM_OPT_HAS_USB_VOLTAGE_REGULATOR (0)
1178 /* @brief USB has integrated PHY (register bits USBPHYCTL[USBVREGSEL], USBPHYCTL[USBVREGPD], USBPHYCTL[USB3VOUTTRG], USBPHYCTL[USBDISILIM], SOPT2[USBSLSRC], SOPT2[USBREGEN]). */
1179 #define FSL_FEATURE_SIM_OPT_HAS_USB_PHY (0)
1180 /* @brief Has PTD7 pad drive strength control (register bit SOPT2[PTD7PAD]). */
1181 #define FSL_FEATURE_SIM_OPT_HAS_PTD7PAD (0)
1182 /* @brief Has FlexBus security level selection (register bit SOPT2[FBSL]). */
1183 #define FSL_FEATURE_SIM_OPT_HAS_FBSL (0)
1184 /* @brief Has number of FlexBus hold cycle before FlexBus can release bus (register bit SOPT6[PCR]). */
1185 #define FSL_FEATURE_SIM_OPT_HAS_PCR (0)
1186 /* @brief Has number of NFC hold cycle in case of FlexBus request (register bit SOPT6[MCC]). */
1187 #define FSL_FEATURE_SIM_OPT_HAS_MCC (0)
1188 /* @brief Has UART open drain enable (register bits UARTnODE, where n is a number, in register SOPT5). */
1189 #define FSL_FEATURE_SIM_OPT_HAS_ODE (1)
1190 /* @brief Number of LPUART modules (number of register bits LPUARTn, where n is a number, in register SCGC5). */
1191 #define FSL_FEATURE_SIM_OPT_LPUART_COUNT (2)
1192 /* @brief Number of UART modules (number of register bits UARTn, where n is a number, in register SCGC4). */
1193 #define FSL_FEATURE_SIM_OPT_UART_COUNT (1)
1194 /* @brief Has UART0 open drain enable (register bit SOPT5[UART0ODE]). */
1195 #define FSL_FEATURE_SIM_OPT_HAS_UART0_ODE (0)
1196 /* @brief Has UART1 open drain enable (register bit SOPT5[UART1ODE]). */
1197 #define FSL_FEATURE_SIM_OPT_HAS_UART1_ODE (0)
1198 /* @brief Has UART2 open drain enable (register bit SOPT5[UART2ODE]). */
1199 #define FSL_FEATURE_SIM_OPT_HAS_UART2_ODE (1)
1200 /* @brief Has LPUART0 open drain enable (register bit SOPT5[LPUART0ODE]). */
1201 #define FSL_FEATURE_SIM_OPT_HAS_LPUART0_ODE (1)
1202 /* @brief Has LPUART1 open drain enable (register bit SOPT5[LPUART1ODE]). */
1203 #define FSL_FEATURE_SIM_OPT_HAS_LPUART1_ODE (1)
1204 /* @brief Has CMT/UART pad drive strength control (register bit SOPT2[CMTUARTPAD]). */
1205 #define FSL_FEATURE_SIM_OPT_HAS_CMTUARTPAD (0)
1206 /* @brief Has LPUART0 transmit data source selection (register bit SOPT5[LPUART0TXSRC]). */
1207 #define FSL_FEATURE_SIM_OPT_HAS_LPUART0_TX_SRC (1)
1208 /* @brief Has LPUART0 receive data source selection (register bit SOPT5[LPUART0RXSRC]). */
1209 #define FSL_FEATURE_SIM_OPT_HAS_LPUART0_RX_SRC (1)
1210 /* @brief Has LPUART1 transmit data source selection (register bit SOPT5[LPUART1TXSRC]). */
1211 #define FSL_FEATURE_SIM_OPT_HAS_LPUART1_TX_SRC (1)
1212 /* @brief Has LPUART1 receive data source selection (register bit SOPT5[LPUART1RXSRC]). */
1213 #define FSL_FEATURE_SIM_OPT_HAS_LPUART1_RX_SRC (1)
1214 /* @brief Has UART0 transmit data source selection (register bit SOPT5[UART0TXSRC]). */
1215 #define FSL_FEATURE_SIM_OPT_HAS_UART0_TX_SRC (0)
1216 /* @brief UART0 transmit data source selection width (width of register bit SOPT5[UART0TXSRC]). */
1217 #define FSL_FEATURE_SIM_OPT_UART0_TX_SRC_WIDTH (0)
1218 /* @brief Has UART0 receive data source selection (register bit SOPT5[UART0RXSRC]). */
1219 #define FSL_FEATURE_SIM_OPT_HAS_UART0_RX_SRC (0)
1220 /* @brief UART0 receive data source selection width (width of register bit SOPT5[UART0RXSRC]). */
1221 #define FSL_FEATURE_SIM_OPT_UART0_RX_SRC_WIDTH (0)
1222 /* @brief Has UART1 transmit data source selection (register bit SOPT5[UART1TXSRC]). */
1223 #define FSL_FEATURE_SIM_OPT_HAS_UART1_TX_SRC (0)
1224 /* @brief Has UART1 receive data source selection (register bit SOPT5[UART1RXSRC]). */
1225 #define FSL_FEATURE_SIM_OPT_HAS_UART1_RX_SRC (0)
1226 /* @brief UART1 receive data source selection width (width of register bit SOPT5[UART1RXSRC]). */
1227 #define FSL_FEATURE_SIM_OPT_UART1_RX_SRC_WIDTH (0)
1228 /* @brief Has FTM module(s) configuration. */
1229 #define FSL_FEATURE_SIM_OPT_HAS_FTM (0)
1230 /* @brief Number of FTM modules. */
1231 #define FSL_FEATURE_SIM_OPT_FTM_COUNT (0)
1232 /* @brief Number of FTM triggers with selectable source. */
1233 #define FSL_FEATURE_SIM_OPT_FTM_TRIGGER_COUNT (0)
1234 /* @brief Has FTM0 triggers source selection (register bits SOPT4[FTM0TRGnSRC], where n is a number). */
1235 #define FSL_FEATURE_SIM_OPT_HAS_FTM0_TRIGGER (0)
1236 /* @brief Has FTM3 triggers source selection (register bits SOPT4[FTM3TRGnSRC], where n is a number). */
1237 #define FSL_FEATURE_SIM_OPT_HAS_FTM3_TRIGGER (0)
1238 /* @brief Has FTM1 channel 0 input capture source selection (register bit SOPT4[FTM1CH0SRC]). */
1239 #define FSL_FEATURE_SIM_OPT_HAS_FTM1_CHANNELS (0)
1240 /* @brief Has FTM2 channel 0 input capture source selection (register bit SOPT4[FTM2CH0SRC]). */
1241 #define FSL_FEATURE_SIM_OPT_HAS_FTM2_CHANNELS (0)
1242 /* @brief Has FTM3 channel 0 input capture source selection (register bit SOPT4[FTM3CH0SRC]). */
1243 #define FSL_FEATURE_SIM_OPT_HAS_FTM3_CHANNELS (0)
1244 /* @brief Has FTM2 channel 1 input capture source selection (register bit SOPT4[FTM2CH1SRC]). */
1245 #define FSL_FEATURE_SIM_OPT_HAS_FTM2_CHANNEL1 (0)
1246 /* @brief Number of configurable FTM0 fault detection input (number of register bits SOPT4[FTM0FLTn], where n is a number starting from zero). */
1247 #define FSL_FEATURE_SIM_OPT_FTM0_FAULT_COUNT (0)
1248 /* @brief Number of configurable FTM1 fault detection input (number of register bits SOPT4[FTM1FLTn], where n is a number starting from zero). */
1249 #define FSL_FEATURE_SIM_OPT_FTM1_FAULT_COUNT (0)
1250 /* @brief Number of configurable FTM2 fault detection input (number of register bits SOPT4[FTM2FLTn], where n is a number starting from zero). */
1251 #define FSL_FEATURE_SIM_OPT_FTM2_FAULT_COUNT (0)
1252 /* @brief Number of configurable FTM3 fault detection input (number of register bits SOPT4[FTM3FLTn], where n is a number starting from zero). */
1253 #define FSL_FEATURE_SIM_OPT_FTM3_FAULT_COUNT (0)
1254 /* @brief Has FTM hardware trigger 0 software synchronization (register bit SOPT8[FTMnSYNCBIT], where n is a module instance index). */
1255 #define FSL_FEATURE_SIM_OPT_HAS_FTM_TRIGGER_SYNC (0)
1256 /* @brief Has FTM channels output source selection (register bit SOPT8[FTMxOCHnSRC], where x is a module instance index and n is a channel index). */
1257 #define FSL_FEATURE_SIM_OPT_HAS_FTM_CHANNELS_OUTPUT_SRC (0)
1258 /* @brief Has TPM module(s) configuration. */
1259 #define FSL_FEATURE_SIM_OPT_HAS_TPM (1)
1260 /* @brief The highest TPM module index. */
1261 #define FSL_FEATURE_SIM_OPT_MAX_TPM_INDEX (2)
1262 /* @brief Has TPM module with index 0. */
1263 #define FSL_FEATURE_SIM_OPT_HAS_TPM0 (1)
1264 /* @brief Has TPM0 clock selection (register bit field SOPT4[TPM0CLKSEL]). */
1265 #define FSL_FEATURE_SIM_OPT_HAS_TPM0_CLK_SEL (1)
1266 /* @brief Is TPM channels configuration in the SOPT4 (not SOPT9) register (register bits TPMnCH0SRC, TPMnCLKSEL, where n is a module instance index). */
1267 #define FSL_FEATURE_SIM_OPT_HAS_TPM_CHANNELS_CONFIG_IN_SOPT4_REG (1)
1268 /* @brief Has TPM1 channel 0 input capture source selection (register bit field SOPT4[TPM1CH0SRC] or SOPT9[TPM1CH0SRC]). */
1269 #define FSL_FEATURE_SIM_OPT_HAS_TPM1_CH0_SRC_SELECTION (1)
1270 /* @brief Has TPM1 clock selection (register bit field SOPT4[TPM1CLKSEL]). */
1271 #define FSL_FEATURE_SIM_OPT_HAS_TPM1_CLK_SEL (1)
1272 /* @brief TPM1 channel 0 input capture source selection width (width of register bit field SOPT4[TPM1CH0SRC] or SOPT9[TPM1CH0SRC]). */
1273 #define FSL_FEATURE_SIM_OPT_TPM1_CH0_SRC_SELECTION_WIDTH (2)
1274 /* @brief Has TPM2 channel 0 input capture source selection (register bit field SOPT4[TPM2CH0SRC]). */
1275 #define FSL_FEATURE_SIM_OPT_HAS_TPM2_CH0_SRC_SELECTION (1)
1276 /* @brief Has TPM2 clock selection (register bit field SOPT4[TPM2CLKSEL]). */
1277 #define FSL_FEATURE_SIM_OPT_HAS_TPM2_CLK_SEL (1)
1278 /* @brief Has PLL/FLL clock selection (register bit field SOPT2[PLLFLLSEL]). */
1279 #define FSL_FEATURE_SIM_OPT_HAS_PLL_FLL_SELECTION (0)
1280 /* @brief PLL/FLL clock selection width (width of register bit field SOPT2[PLLFLLSEL]). */
1281 #define FSL_FEATURE_SIM_OPT_PLL_FLL_SELECTION_WIDTH (0)
1282 /* @brief Has NFC clock source selection (register bit SOPT2[NFCSRC]). */
1283 #define FSL_FEATURE_SIM_OPT_HAS_NFCSRC (0)
1284 /* @brief Has eSDHC clock source selection (register bit SOPT2[ESDHCSRC]). */
1285 #define FSL_FEATURE_SIM_OPT_HAS_ESDHCSRC (0)
1286 /* @brief Has SDHC clock source selection (register bit SOPT2[SDHCSRC]). */
1287 #define FSL_FEATURE_SIM_OPT_HAS_SDHCSRC (0)
1288 /* @brief Has LCDC clock source selection (register bits SOPT2[LCDCSRC], SOPT2[LCDC_CLKSEL]). */
1289 #define FSL_FEATURE_SIM_OPT_HAS_LCDCSRC (0)
1290 /* @brief Has ENET timestamp clock source selection (register bit SOPT2[TIMESRC]). */
1291 #define FSL_FEATURE_SIM_OPT_HAS_TIMESRC (0)
1292 /* @brief Has ENET RMII clock source selection (register bit SOPT2[RMIISRC]). */
1293 #define FSL_FEATURE_SIM_OPT_HAS_RMIISRC (0)
1294 /* @brief Has USB clock source selection (register bit SOPT2[USBSRC]). */
1295 #define FSL_FEATURE_SIM_OPT_HAS_USBSRC (0)
1296 /* @brief Has USB FS clock source selection (register bit SOPT2[USBFSRC]). */
1297 #define FSL_FEATURE_SIM_OPT_HAS_USBFSRC (0)
1298 /* @brief Has USB HS clock source selection (register bit SOPT2[USBHSRC]). */
1299 #define FSL_FEATURE_SIM_OPT_HAS_USBHSRC (0)
1300 /* @brief Has LPUART clock source selection (register bit SOPT2[LPUARTSRC]). */
1301 #define FSL_FEATURE_SIM_OPT_HAS_LPUARTSRC (0)
1302 /* @brief Has LPUART0 clock source selection (register bit SOPT2[LPUART0SRC]). */
1303 #define FSL_FEATURE_SIM_OPT_HAS_LPUART0SRC (1)
1304 /* @brief Has LPUART1 clock source selection (register bit SOPT2[LPUART1SRC]). */
1305 #define FSL_FEATURE_SIM_OPT_HAS_LPUART1SRC (1)
1306 /* @brief Has FLEXIOSRC clock source selection (register bit SOPT2[FLEXIOSRC]). */
1307 #define FSL_FEATURE_SIM_OPT_HAS_FLEXIOSRC (1)
1308 /* @brief Has UART0 clock source selection (register bit SOPT2[UART0SRC]). */
1309 #define FSL_FEATURE_SIM_OPT_HAS_UART0SRC (0)
1310 /* @brief Has TPM clock source selection (register bit SOPT2[TPMSRC]). */
1311 #define FSL_FEATURE_SIM_OPT_HAS_TPMSRC (1)
1312 /* @brief Has debug trace clock selection (register bit SOPT2[TRACECLKSEL]). */
1313 #define FSL_FEATURE_SIM_OPT_HAS_TRACE_CLKSEL (0)
1314 /* @brief Number of ADC modules (register bits SOPT7[ADCnTRGSEL], SOPT7[ADCnPRETRGSEL], SOPT7[ADCnALTTRGSEL], where n is a module instance index). */
1315 #define FSL_FEATURE_SIM_OPT_ADC_COUNT (1)
1316 /* @brief Has clock 2 output divider (register bit field CLKDIV1[OUTDIV2]). */
1317 #define FSL_FEATURE_SIM_DIVIDER_HAS_OUTDIV2 (0)
1318 /* @brief Has clock 3 output divider (register bit field CLKDIV1[OUTDIV3]). */
1319 #define FSL_FEATURE_SIM_DIVIDER_HAS_OUTDIV3 (0)
1320 /* @brief Has clock 4 output divider (register bit field CLKDIV1[OUTDIV4]). */
1321 #define FSL_FEATURE_SIM_DIVIDER_HAS_OUTDIV4 (1)
1322 /* @brief Clock 4 output divider width (width of register bit field CLKDIV1[OUTDIV4]). */
1323 #define FSL_FEATURE_SIM_DIVIDER_OUTDIV4_WIDTH (3)
1324 /* @brief Has clock 5 output divider (register bit field CLKDIV1[OUTDIV5]). */
1325 #define FSL_FEATURE_SIM_DIVIDER_HAS_OUTDIV5 (0)
1326 /* @brief Has USB clock divider (register bit field CLKDIV2[USBDIV] and CLKDIV2[USBFRAC]). */
1327 #define FSL_FEATURE_SIM_DIVIDER_HAS_USBDIV (0)
1328 /* @brief Has USB FS clock divider (register bit field CLKDIV2[USBFSDIV] and CLKDIV2[USBFSFRAC]). */
1329 #define FSL_FEATURE_SIM_DIVIDER_HAS_USBFSDIV (0)
1330 /* @brief Has USB HS clock divider (register bit field CLKDIV2[USBHSDIV] and CLKDIV2[USBHSFRAC]). */
1331 #define FSL_FEATURE_SIM_DIVIDER_HAS_USBHSDIV (0)
1332 /* @brief Has PLL/FLL clock divider (register bit field CLKDIV3[PLLFLLDIV] and CLKDIV3[PLLFLLFRAC]). */
1333 #define FSL_FEATURE_SIM_DIVIDER_HAS_PLLFLLDIV (0)
1334 /* @brief Has LCDC clock divider (register bit field CLKDIV3[LCDCDIV] and CLKDIV3[LCDCFRAC]). */
1335 #define FSL_FEATURE_SIM_DIVIDER_HAS_LCDCDIV (0)
1336 /* @brief Has trace clock divider (register bit field CLKDIV4[TRACEDIV] and CLKDIV4[TRACEFRAC]). */
1337 #define FSL_FEATURE_SIM_DIVIDER_HAS_TRACEDIV (0)
1338 /* @brief Has NFC clock divider (register bit field CLKDIV4[NFCDIV] and CLKDIV4[NFCFRAC]). */
1339 #define FSL_FEATURE_SIM_DIVIDER_HAS_NFCDIV (0)
1340 /* @brief Has Kinetis family ID (register bit field SDID[FAMILYID]). */
1341 #define FSL_FEATURE_SIM_SDID_HAS_FAMILYID (0)
1342 /* @brief Has Kinetis family ID (register bit field SDID[FAMID]). */
1343 #define FSL_FEATURE_SIM_SDID_HAS_FAMID (1)
1344 /* @brief Has Kinetis sub-family ID (register bit field SDID[SUBFAMID]). */
1345 #define FSL_FEATURE_SIM_SDID_HAS_SUBFAMID (1)
1346 /* @brief Has Kinetis series ID (register bit field SDID[SERIESID]). */
1347 #define FSL_FEATURE_SIM_SDID_HAS_SERIESID (1)
1348 /* @brief Has device die ID (register bit field SDID[DIEID]). */
1349 #define FSL_FEATURE_SIM_SDID_HAS_DIEID (0)
1350 /* @brief Has system SRAM size specifier (register bit field SDID[SRAMSIZE]). */
1351 #define FSL_FEATURE_SIM_SDID_HAS_SRAMSIZE (1)
1352 /* @brief Has flash mode (register bit FCFG1[FLASHDOZE]). */
1353 #define FSL_FEATURE_SIM_FCFG_HAS_FLASHDOZE (1)
1354 /* @brief Has flash disable (register bit FCFG1[FLASHDIS]). */
1355 #define FSL_FEATURE_SIM_FCFG_HAS_FLASHDIS (1)
1356 /* @brief Has FTFE disable (register bit FCFG1[FTFDIS]). */
1357 #define FSL_FEATURE_SIM_FCFG_HAS_FTFDIS (0)
1358 /* @brief Has FlexNVM size specifier (register bit field FCFG1[NVMSIZE]). */
1359 #define FSL_FEATURE_SIM_FCFG_HAS_NVMSIZE (0)
1360 /* @brief Has EEPROM size specifier (register bit field FCFG1[EESIZE]). */
1361 #define FSL_FEATURE_SIM_FCFG_HAS_EESIZE (0)
1362 /* @brief Has FlexNVM partition (register bit field FCFG1[DEPART]). */
1363 #define FSL_FEATURE_SIM_FCFG_HAS_DEPART (0)
1364 /* @brief Maximum flash address block 0 address specifier (register bit field FCFG2[MAXADDR0]). */
1365 #define FSL_FEATURE_SIM_FCFG_HAS_MAXADDR0 (1)
1366 /* @brief Maximum flash address block 1 address specifier (register bit field FCFG2[MAXADDR1]). */
1367 #define FSL_FEATURE_SIM_FCFG_HAS_MAXADDR1 (0)
1368 /* @brief Maximum flash address block 0 or 1 address specifier (register bit field FCFG2[MAXADDR01]). */
1369 #define FSL_FEATURE_SIM_FCFG_HAS_MAXADDR01 (0)
1370 /* @brief Maximum flash address block 2 or 3 address specifier (register bit field FCFG2[MAXADDR23]). */
1371 #define FSL_FEATURE_SIM_FCFG_HAS_MAXADDR23 (0)
1372 /* @brief Has program flash availability specifier (register bit FCFG2[PFLSH]). */
1373 #define FSL_FEATURE_SIM_FCFG_HAS_PFLSH (0)
1374 /* @brief Has program flash swapping (register bit FCFG2[SWAPPFLSH]). */
1375 #define FSL_FEATURE_SIM_FCFG_HAS_PFLSH_SWAP (0)
1376 /* @brief Has miscellanious control register (register MCR). */
1377 #define FSL_FEATURE_SIM_HAS_MISC_CONTROLS (0)
1378 /* @brief Has COP watchdog (registers COPC and SRVCOP). */
1379 #define FSL_FEATURE_SIM_HAS_COP_WATCHDOG (1)
1380 /* @brief Has COP watchdog stop (register bits COPC[COPSTPEN], COPC[COPDBGEN] and COPC[COPCLKSEL]). */
1381 #define FSL_FEATURE_SIM_HAS_COP_STOP (1)
1382 /* @brief Has LLWU clock gate bit (e.g SIM_SCGC4). */
1383 #define FSL_FEATURE_SIM_HAS_SCGC_LLWU (0)
1384 /* @brief Has UIDH registers. */
1385 #define FSL_FEATURE_SIM_HAS_UIDH (0)
1386 /* @brief Has UIDM registers. */
1387 #define FSL_FEATURE_SIM_HAS_UIDM (0)
1388 
1389 /* SMC module features */
1390 
1391 /* @brief Has partial stop option (register bit STOPCTRL[PSTOPO]). */
1392 #define FSL_FEATURE_SMC_HAS_PSTOPO (1)
1393 /* @brief Has LPO power option (register bit STOPCTRL[LPOPO]). */
1394 #define FSL_FEATURE_SMC_HAS_LPOPO (1)
1395 /* @brief Has POR power option (register bit STOPCTRL[PORPO] or VLLSCTRL[PORPO]). */
1396 #define FSL_FEATURE_SMC_HAS_PORPO (1)
1397 /* @brief Has low power wakeup on interrupt (register bit PMCTRL[LPWUI]). */
1398 #define FSL_FEATURE_SMC_HAS_LPWUI (0)
1399 /* @brief Has LLS or VLLS mode control (register bit STOPCTRL[LLSM]). */
1400 #define FSL_FEATURE_SMC_HAS_LLS_SUBMODE (0)
1401 /* @brief Has VLLS mode control (register bit VLLSCTRL[VLLSM]). */
1402 #define FSL_FEATURE_SMC_USE_VLLSCTRL_REG (0)
1403 /* @brief Has VLLS mode control (register bit STOPCTRL[VLLSM]). */
1404 #define FSL_FEATURE_SMC_USE_STOPCTRL_VLLSM (1)
1405 /* @brief Has RAM partition 2 power option (register bit STOPCTRL[RAM2PO]). */
1406 #define FSL_FEATURE_SMC_HAS_RAM2_POWER_OPTION (0)
1407 /* @brief Has high speed run mode (register bit PMPROT[AHSRUN]). */
1408 #define FSL_FEATURE_SMC_HAS_HIGH_SPEED_RUN_MODE (0)
1409 /* @brief Has low leakage stop mode (register bit PMPROT[ALLS]). */
1410 #define FSL_FEATURE_SMC_HAS_LOW_LEAKAGE_STOP_MODE (1)
1411 /* @brief Has very low leakage stop mode (register bit PMPROT[AVLLS]). */
1412 #define FSL_FEATURE_SMC_HAS_VERY_LOW_LEAKAGE_STOP_MODE (1)
1413 /* @brief Has stop submode. */
1414 #define FSL_FEATURE_SMC_HAS_SUB_STOP_MODE (1)
1415 /* @brief Has stop submode 0(VLLS0). */
1416 #define FSL_FEATURE_SMC_HAS_STOP_SUBMODE0 (1)
1417 /* @brief Has stop submode 1(VLLS1). */
1418 #define FSL_FEATURE_SMC_HAS_STOP_SUBMODE1 (1)
1419 /* @brief Has stop submode 2(VLLS2). */
1420 #define FSL_FEATURE_SMC_HAS_STOP_SUBMODE2 (0)
1421 /* @brief Has SMC_PARAM. */
1422 #define FSL_FEATURE_SMC_HAS_PARAM (0)
1423 /* @brief Has SMC_VERID. */
1424 #define FSL_FEATURE_SMC_HAS_VERID (0)
1425 /* @brief Has stop abort flag (register bit PMCTRL[STOPA]). */
1426 #define FSL_FEATURE_SMC_HAS_PMCTRL_STOPA (1)
1427 /* @brief Has tamper reset (register bit SRS[TAMPER]). */
1428 #define FSL_FEATURE_SMC_HAS_SRS_TAMPER (0)
1429 /* @brief Has security violation reset (register bit SRS[SECVIO]). */
1430 #define FSL_FEATURE_SMC_HAS_SRS_SECVIO (0)
1431 /* @brief Width of SMC registers. */
1432 #define FSL_FEATURE_SMC_REG_WIDTH (8)
1433 
1434 /* SPI module features */
1435 
1436 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
1437 #define FSL_FEATURE_SPI_HAS_FIFO (1)
1438 /* @brief Has DMA support (register bit fields C2[RXDMAE] and C2[TXDMAE]). */
1439 #define FSL_FEATURE_SPI_HAS_DMA_SUPPORT (1)
1440 /* @brief Has separate DMA RX and TX requests. */
1441 #define FSL_FEATURE_SPI_HAS_SEPARATE_DMA_RX_TX_REQn(x) (1)
1442 /* @brief Receive/transmit FIFO size in number of 16-bit communication items. */
1443 #define FSL_FEATURE_SPI_FIFO_SIZEn(x) \
1444     (((x) == SPI0) ? (0) : \
1445     (((x) == SPI1) ? (4) : (-1)))
1446 /* @brief Maximum transfer data width in bits. */
1447 #define FSL_FEATURE_SPI_MAX_DATA_WIDTH (16)
1448 /* @brief The data register name has postfix (L as low and H as high). */
1449 #define FSL_FEATURE_SPI_DATA_REGISTER_HAS_POSTFIX (1)
1450 /* @brief Has separated TXDATA and CMD FIFOs (register SREX). */
1451 #define FSL_FEATURE_SPI_HAS_SEPARATE_TXDATA_CMD_FIFO (0)
1452 /* @brief Has 16-bit data transfer support. */
1453 #define FSL_FEATURE_SPI_16BIT_TRANSFERS (1)
1454 
1455 /* SysTick module features */
1456 
1457 /* @brief Systick has external reference clock. */
1458 #define FSL_FEATURE_SYSTICK_HAS_EXT_REF (1)
1459 /* @brief Systick external reference clock is core clock divided by this value. */
1460 #define FSL_FEATURE_SYSTICK_EXT_REF_CORE_DIV (16)
1461 
1462 /* TPM module features */
1463 
1464 /* @brief Bus clock is the source clock for the module. */
1465 #define FSL_FEATURE_TPM_BUS_CLOCK (0)
1466 /* @brief Number of channels. */
1467 #define FSL_FEATURE_TPM_CHANNEL_COUNTn(x) \
1468     (((x) == TPM0) ? (6) : \
1469     (((x) == TPM1) ? (2) : \
1470     (((x) == TPM2) ? (2) : (-1))))
1471 /* @brief Has counter reset by the selected input capture event (register bits C0SC[ICRST], C1SC[ICRST], ...). */
1472 #define FSL_FEATURE_TPM_HAS_COUNTER_RESET_BY_CAPTURE_EVENT (0)
1473 /* @brief Has TPM_PARAM. */
1474 #define FSL_FEATURE_TPM_HAS_PARAM (0)
1475 /* @brief Has TPM_VERID. */
1476 #define FSL_FEATURE_TPM_HAS_VERID (0)
1477 /* @brief Has TPM_GLOBAL. */
1478 #define FSL_FEATURE_TPM_HAS_GLOBAL (0)
1479 /* @brief Has TPM_TRIG. */
1480 #define FSL_FEATURE_TPM_HAS_TRIG (0)
1481 /* @brief Whether TRIG register has effect. */
1482 #define FSL_FEATURE_TPM_TRIG_HAS_EFFECTn(x) \
1483     (((x) == TPM0) ? (1) : \
1484     (((x) == TPM1) ? (0) : \
1485     (((x) == TPM2) ? (0) : (-1))))
1486 /* @brief Has counter pause on trigger. */
1487 #define FSL_FEATURE_TPM_HAS_PAUSE_COUNTER_ON_TRIGGER (1)
1488 /* @brief Has external trigger selection. */
1489 #define FSL_FEATURE_TPM_HAS_EXTERNAL_TRIGGER_SELECTION (1)
1490 /* @brief Has TPM_COMBINE register. */
1491 #define FSL_FEATURE_TPM_HAS_COMBINE (0)
1492 /* @brief Whether COMBINE register has effect. */
1493 #define FSL_FEATURE_TPM_COMBINE_HAS_EFFECTn(x) (0)
1494 /* @brief Has TPM_POL. */
1495 #define FSL_FEATURE_TPM_HAS_POL (1)
1496 /* @brief Whether POL register has effect. */
1497 #define FSL_FEATURE_TPM_POL_HAS_EFFECTn(x) (1)
1498 /* @brief Has TPM_FILTER register. */
1499 #define FSL_FEATURE_TPM_HAS_FILTER (0)
1500 /* @brief Whether FILTER register has effect. */
1501 #define FSL_FEATURE_TPM_FILTER_HAS_EFFECTn(x) (0)
1502 /* @brief Has TPM_QDCTRL register. */
1503 #define FSL_FEATURE_TPM_HAS_QDCTRL (0)
1504 /* @brief Whether QDCTRL register has effect. */
1505 #define FSL_FEATURE_TPM_QDCTRL_HAS_EFFECTn(x) (0)
1506 /* @brief Is affected by errata with ID 050050 (Incorrect duty output when EPWM mode is set to PS=0 during write 1 to CnV register). */
1507 #define FSL_FEATURE_TPM_HAS_ERRATA_050050 (0)
1508 /* @brief Whether 32 bits counter has effect. */
1509 #define FSL_FEATURE_TPM_HAS_32BIT_COUNTERn(x) (0)
1510 
1511 /* UART module features */
1512 
1513 /* @brief Has receive FIFO overflow detection (bit field CFIFO[RXOFE]). */
1514 #define FSL_FEATURE_UART_HAS_IRQ_EXTENDED_FUNCTIONS (0)
1515 /* @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). */
1516 #define FSL_FEATURE_UART_HAS_LOW_POWER_UART_SUPPORT (0)
1517 /* @brief Has extended data register ED (or extra flags in the DATA register if the registers are 32-bit wide). */
1518 #define FSL_FEATURE_UART_HAS_EXTENDED_DATA_REGISTER_FLAGS (0)
1519 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
1520 #define FSL_FEATURE_UART_HAS_FIFO (0)
1521 /* @brief Hardware flow control (RTS, CTS) is supported. */
1522 #define FSL_FEATURE_UART_HAS_MODEM_SUPPORT (0)
1523 /* @brief Infrared (modulation) is supported. */
1524 #define FSL_FEATURE_UART_HAS_IR_SUPPORT (0)
1525 /* @brief 2 bits long stop bit is available. */
1526 #define FSL_FEATURE_UART_HAS_STOP_BIT_CONFIG_SUPPORT (0)
1527 /* @brief If 10-bit mode is supported. */
1528 #define FSL_FEATURE_UART_HAS_10BIT_DATA_SUPPORT (1)
1529 /* @brief Baud rate fine adjustment is available. */
1530 #define FSL_FEATURE_UART_HAS_BAUD_RATE_FINE_ADJUST_SUPPORT (1)
1531 /* @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). */
1532 #define FSL_FEATURE_UART_HAS_BAUD_RATE_OVER_SAMPLING_SUPPORT (0)
1533 /* @brief Baud rate oversampling is available. */
1534 #define FSL_FEATURE_UART_HAS_RX_RESYNC_SUPPORT (0)
1535 /* @brief Baud rate oversampling is available. */
1536 #define FSL_FEATURE_UART_HAS_BOTH_EDGE_SAMPLING_SUPPORT (0)
1537 /* @brief Peripheral type. */
1538 #define FSL_FEATURE_UART_IS_SCI (0)
1539 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
1540 #define FSL_FEATURE_UART_FIFO_SIZEn(x) (0)
1541 /* @brief Supports two match addresses to filter incoming frames. */
1542 #define FSL_FEATURE_UART_HAS_ADDRESS_MATCHING (1)
1543 /* @brief Has transmitter/receiver DMA enable bits C5[TDMAE]/C5[RDMAE] (or BAUD[TDMAE]/BAUD[RDMAE] if the registers are 32-bit wide). */
1544 #define FSL_FEATURE_UART_HAS_DMA_ENABLE (0)
1545 /* @brief Has transmitter/receiver DMA select bits C4[TDMAS]/C4[RDMAS], resp. C5[TDMAS]/C5[RDMAS] if IS_SCI = 0. */
1546 #define FSL_FEATURE_UART_HAS_DMA_SELECT (1)
1547 /* @brief Data character bit order selection is supported (bit field S2[MSBF] or STAT[MSBF] if the registers are 32-bit wide). */
1548 #define FSL_FEATURE_UART_HAS_BIT_ORDER_SELECT (1)
1549 /* @brief Has smart card (ISO7816 protocol) support and no improved smart card support. */
1550 #define FSL_FEATURE_UART_HAS_SMART_CARD_SUPPORT (1)
1551 /* @brief Has improved smart card (ISO7816 protocol) support. */
1552 #define FSL_FEATURE_UART_HAS_IMPROVED_SMART_CARD_SUPPORT (1)
1553 /* @brief Has local operation network (CEA709.1-B protocol) support. */
1554 #define FSL_FEATURE_UART_HAS_LOCAL_OPERATION_NETWORK_SUPPORT (0)
1555 /* @brief Has 32-bit registers (BAUD, STAT, CTRL, DATA, MATCH, MODIR) instead of 8-bit (BDH, BDL, C1, S1, D, etc.). */
1556 #define FSL_FEATURE_UART_HAS_32BIT_REGISTERS (0)
1557 /* @brief Lin break detect available (has bit BDH[LBKDIE]). */
1558 #define FSL_FEATURE_UART_HAS_LIN_BREAK_DETECT (0)
1559 /* @brief UART stops in Wait mode available (has bit C1[UARTSWAI]). */
1560 #define FSL_FEATURE_UART_HAS_WAIT_MODE_OPERATION (0)
1561 /* @brief Has separate DMA RX and TX requests. */
1562 #define FSL_FEATURE_UART_HAS_SEPARATE_DMA_RX_TX_REQn(x) (1)
1563 
1564 /* VREF module features */
1565 
1566 /* @brief Has chop oscillator (bit TRM[CHOPEN]) */
1567 #define FSL_FEATURE_VREF_HAS_CHOP_OSC (1)
1568 /* @brief Has second order curvature compensation (bit SC[ICOMPEN]) */
1569 #define FSL_FEATURE_VREF_HAS_COMPENSATION (1)
1570 /* @brief If high/low buffer mode supported */
1571 #define FSL_FEATURE_VREF_MODE_LV_TYPE (1)
1572 /* @brief Module has also low reference (registers VREFL/VREFH) */
1573 #define FSL_FEATURE_VREF_HAS_LOW_REFERENCE (0)
1574 /* @brief Has VREF_TRM4. */
1575 #define FSL_FEATURE_VREF_HAS_TRM4 (0)
1576 
1577 #endif /* _MKL17Z644_FEATURES_H_ */
1578 
1579