1 /*
2 ** ###################################################################
3 **     Version:             rev. 1.0, 2018-05-09
4 **     Build:               b220803
5 **
6 **     Abstract:
7 **         Chip specific module features.
8 **
9 **     Copyright 2016 Freescale Semiconductor, Inc.
10 **     Copyright 2016-2022 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 (2018-05-09)
20 **         Initial version.
21 **
22 ** ###################################################################
23 */
24 
25 #ifndef _MKE15Z4_FEATURES_H_
26 #define _MKE15Z4_FEATURES_H_
27 
28 /* SOC module features */
29 
30 /* @brief ACMP availability on the SoC. */
31 #define FSL_FEATURE_SOC_ACMP_COUNT (1)
32 /* @brief ADC12 availability on the SoC. */
33 #define FSL_FEATURE_SOC_ADC12_COUNT (1)
34 /* @brief CRC availability on the SoC. */
35 #define FSL_FEATURE_SOC_CRC_COUNT (1)
36 /* @brief EWM availability on the SoC. */
37 #define FSL_FEATURE_SOC_EWM_COUNT (1)
38 /* @brief FGPIO availability on the SoC. */
39 #define FSL_FEATURE_SOC_FGPIO_COUNT (5)
40 /* @brief FTFA availability on the SoC. */
41 #define FSL_FEATURE_SOC_FTFA_COUNT (1)
42 /* @brief FTM availability on the SoC. */
43 #define FSL_FEATURE_SOC_FTM_COUNT (2)
44 /* @brief GPIO availability on the SoC. */
45 #define FSL_FEATURE_SOC_GPIO_COUNT (5)
46 /* @brief LPI2C availability on the SoC. */
47 #define FSL_FEATURE_SOC_LPI2C_COUNT (1)
48 /* @brief LPIT availability on the SoC. */
49 #define FSL_FEATURE_SOC_LPIT_COUNT (1)
50 /* @brief LPSPI availability on the SoC. */
51 #define FSL_FEATURE_SOC_LPSPI_COUNT (1)
52 /* @brief LPTMR availability on the SoC. */
53 #define FSL_FEATURE_SOC_LPTMR_COUNT (1)
54 /* @brief LPUART availability on the SoC. */
55 #define FSL_FEATURE_SOC_LPUART_COUNT (3)
56 /* @brief MCM availability on the SoC. */
57 #define FSL_FEATURE_SOC_MCM_COUNT (1)
58 /* @brief MMDVSQ availability on the SoC. */
59 #define FSL_FEATURE_SOC_MMDVSQ_COUNT (1)
60 /* @brief MTB availability on the SoC. */
61 #define FSL_FEATURE_SOC_MTB_COUNT (1)
62 /* @brief MTBDWT availability on the SoC. */
63 #define FSL_FEATURE_SOC_MTBDWT_COUNT (1)
64 /* @brief PCC availability on the SoC. */
65 #define FSL_FEATURE_SOC_PCC_COUNT (1)
66 /* @brief PDB availability on the SoC. */
67 #define FSL_FEATURE_SOC_PDB_COUNT (1)
68 /* @brief PMC availability on the SoC. */
69 #define FSL_FEATURE_SOC_PMC_COUNT (1)
70 /* @brief PORT availability on the SoC. */
71 #define FSL_FEATURE_SOC_PORT_COUNT (5)
72 /* @brief PWT availability on the SoC. */
73 #define FSL_FEATURE_SOC_PWT_COUNT (1)
74 /* @brief RCM availability on the SoC. */
75 #define FSL_FEATURE_SOC_RCM_COUNT (1)
76 /* @brief ROM availability on the SoC. */
77 #define FSL_FEATURE_SOC_ROM_COUNT (1)
78 /* @brief RTC availability on the SoC. */
79 #define FSL_FEATURE_SOC_RTC_COUNT (1)
80 /* @brief SCG availability on the SoC. */
81 #define FSL_FEATURE_SOC_SCG_COUNT (1)
82 /* @brief SIM availability on the SoC. */
83 #define FSL_FEATURE_SOC_SIM_COUNT (1)
84 /* @brief SMC availability on the SoC. */
85 #define FSL_FEATURE_SOC_SMC_COUNT (1)
86 /* @brief TRGMUX availability on the SoC. */
87 #define FSL_FEATURE_SOC_TRGMUX_COUNT (2)
88 /* @brief TSI availability on the SoC. */
89 #define FSL_FEATURE_SOC_TSI_COUNT (1)
90 /* @brief WDOG availability on the SoC. */
91 #define FSL_FEATURE_SOC_WDOG_COUNT (1)
92 
93 /* ADC12 module features */
94 
95 /* @brief Has DMA support (bit SC2[DMAEN]. */
96 #define FSL_FEATURE_ADC12_HAS_DMA_SUPPORT (0)
97 /* @brief Conversion control count (related to number of registers SC1n and Rn). */
98 #define FSL_FEATURE_ADC12_CONVERSION_CONTROL_COUNT (4)
99 
100 /* ACMP module features */
101 
102 /* @brief Has CMP_C3. */
103 #define FSL_FEATURE_ACMP_HAS_C3_REG (0)
104 /* @brief Has C0 LINKEN Bit */
105 #define FSL_FEATURE_ACMP_HAS_C0_LINKEN_BIT (0)
106 /* @brief Has C0 OFFSET Bit */
107 #define FSL_FEATURE_ACMP_HAS_C0_OFFSET_BIT (1)
108 /* @brief Has C1 INPSEL Bit */
109 #define FSL_FEATURE_ACMP_HAS_C1_INPSEL_BIT (1)
110 /* @brief Has C1 INNSEL Bit */
111 #define FSL_FEATURE_ACMP_HAS_C1_INNSEL_BIT (1)
112 /* @brief Has C1 DACOE Bit */
113 #define FSL_FEATURE_ACMP_HAS_C1_DACOE_BIT (0)
114 /* @brief Has C1 DMODE Bit */
115 #define FSL_FEATURE_ACMP_HAS_C1_DMODE_BIT (0)
116 /* @brief Has C2 RRE Bit */
117 #define FSL_FEATURE_ACMP_HAS_C2_RRE_BIT (1)
118 
119 /* CRC module features */
120 
121 /* @brief Has data register with name CRC */
122 #define FSL_FEATURE_CRC_HAS_CRC_REG (0)
123 
124 /* EWM module features */
125 
126 /* @brief Has clock select (register CLKCTRL). */
127 #define FSL_FEATURE_EWM_HAS_CLOCK_SELECT (0)
128 /* @brief Has clock prescaler (register CLKPRESCALER). */
129 #define FSL_FEATURE_EWM_HAS_PRESCALER (1)
130 
131 /* FGPIO module features */
132 
133 /* No feature definitions */
134 
135 /* FLASH module features */
136 
137 #if defined(CPU_MKE15Z32VFP4) || defined(CPU_MKE15Z32VLD4) || defined(CPU_MKE15Z32VLF4)
138     /* @brief Is of type FTFA. */
139     #define FSL_FEATURE_FLASH_IS_FTFA (1)
140     /* @brief Is of type FTFE. */
141     #define FSL_FEATURE_FLASH_IS_FTFE (0)
142     /* @brief Is of type FTFL. */
143     #define FSL_FEATURE_FLASH_IS_FTFL (0)
144     /* @brief Has flags indicating the status of the FlexRAM (register bits FCNFG[EEERDY], FCNFG[RAMRDY] and FCNFG[PFLSH]). */
145     #define FSL_FEATURE_FLASH_HAS_FLEX_RAM_FLAGS (0)
146     /* @brief Has program flash swapping status flag (register bit FCNFG[SWAP]). */
147     #define FSL_FEATURE_FLASH_HAS_PFLASH_SWAPPING_STATUS_FLAG (0)
148     /* @brief Has EEPROM region protection (register FEPROT). */
149     #define FSL_FEATURE_FLASH_HAS_EEROM_REGION_PROTECTION (0)
150     /* @brief Has data flash region protection (register FDPROT). */
151     #define FSL_FEATURE_FLASH_HAS_DATA_FLASH_REGION_PROTECTION (0)
152     /* @brief Has flash access control (registers XACCHn, SACCHn, where n is a number, FACSS and FACSN). */
153     #define FSL_FEATURE_FLASH_HAS_ACCESS_CONTROL (0)
154     /* @brief Has flash cache control in FMC module. */
155     #define FSL_FEATURE_FLASH_HAS_FMC_FLASH_CACHE_CONTROLS (0)
156     /* @brief Has flash cache control in MCM module. */
157     #define FSL_FEATURE_FLASH_HAS_MCM_FLASH_CACHE_CONTROLS (1)
158     /* @brief Has flash cache control in MSCM module. */
159     #define FSL_FEATURE_FLASH_HAS_MSCM_FLASH_CACHE_CONTROLS (0)
160     /* @brief Has prefetch speculation control in flash, such as kv5x. */
161     #define FSL_FEATURE_FLASH_PREFETCH_SPECULATION_CONTROL_IN_FLASH (0)
162     /* @brief P-Flash flash size coding rule version, value 0 for K1 and K2, value 1 for K3. */
163     #define FSL_FEATURE_FLASH_SIZE_ENCODING_RULE_VERSION (0)
164     /* @brief P-Flash start address. */
165     #define FSL_FEATURE_FLASH_PFLASH_START_ADDRESS (0x00000000)
166     /* @brief P-Flash block count. */
167     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_COUNT (1)
168     /* @brief P-Flash block size. */
169     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_SIZE (32768)
170     /* @brief P-Flash sector size. */
171     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_SECTOR_SIZE (1024)
172     /* @brief P-Flash write unit size. */
173     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_WRITE_UNIT_SIZE (4)
174     /* @brief P-Flash data path width. */
175     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_DATA_PATH_WIDTH (4)
176     /* @brief P-Flash block swap feature. */
177     #define FSL_FEATURE_FLASH_HAS_PFLASH_BLOCK_SWAP (0)
178     /* @brief P-Flash protection region count. */
179     #define FSL_FEATURE_FLASH_PFLASH_PROTECTION_REGION_COUNT (32)
180     /* @brief Has FlexNVM memory. */
181     #define FSL_FEATURE_FLASH_HAS_FLEX_NVM (0)
182     /* @brief Has FlexNVM alias. */
183     #define FSL_FEATURE_FLASH_HAS_FLEX_NVM_ALIAS (0)
184     /* @brief FlexNVM start address. (Valid only if FlexNVM is available.) */
185     #define FSL_FEATURE_FLASH_FLEX_NVM_START_ADDRESS (0x00000000)
186     /* @brief FlexNVM alias start address. (Valid only if FlexNVM alias is available.) */
187     #define FSL_FEATURE_FLASH_FLEX_NVM_ALIAS_START_ADDRESS (0x00000000)
188     /* @brief FlexNVM block count. */
189     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_COUNT (0)
190     /* @brief FlexNVM block size. */
191     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_SIZE (0)
192     /* @brief FlexNVM sector size. */
193     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_SECTOR_SIZE (0)
194     /* @brief FlexNVM write unit size. */
195     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_WRITE_UNIT_SIZE (0)
196     /* @brief FlexNVM data path width. */
197     #define FSL_FEATURE_FLASH_FLEX_BLOCK_DATA_PATH_WIDTH (0)
198     /* @brief Has FlexRAM memory. */
199     #define FSL_FEATURE_FLASH_HAS_FLEX_RAM (0)
200     /* @brief FlexRAM start address. (Valid only if FlexRAM is available.) */
201     #define FSL_FEATURE_FLASH_FLEX_RAM_START_ADDRESS (0x00000000)
202     /* @brief FlexRAM size. */
203     #define FSL_FEATURE_FLASH_FLEX_RAM_SIZE (0)
204     /* @brief Has 0x00 Read 1s Block command. */
205     #define FSL_FEATURE_FLASH_HAS_READ_1S_BLOCK_CMD (0)
206     /* @brief Has 0x01 Read 1s Section command. */
207     #define FSL_FEATURE_FLASH_HAS_READ_1S_SECTION_CMD (1)
208     /* @brief Has 0x02 Program Check command. */
209     #define FSL_FEATURE_FLASH_HAS_PROGRAM_CHECK_CMD (1)
210     /* @brief Has 0x03 Read Resource command. */
211     #define FSL_FEATURE_FLASH_HAS_READ_RESOURCE_CMD (1)
212     /* @brief Has 0x06 Program Longword command. */
213     #define FSL_FEATURE_FLASH_HAS_PROGRAM_LONGWORD_CMD (1)
214     /* @brief Has 0x07 Program Phrase command. */
215     #define FSL_FEATURE_FLASH_HAS_PROGRAM_PHRASE_CMD (0)
216     /* @brief Has 0x08 Erase Flash Block command. */
217     #define FSL_FEATURE_FLASH_HAS_ERASE_FLASH_BLOCK_CMD (0)
218     /* @brief Has 0x09 Erase Flash Sector command. */
219     #define FSL_FEATURE_FLASH_HAS_ERASE_FLASH_SECTOR_CMD (1)
220     /* @brief Has 0x0B Program Section command. */
221     #define FSL_FEATURE_FLASH_HAS_PROGRAM_SECTION_CMD (0)
222     /* @brief Has 0x40 Read 1s All Blocks command. */
223     #define FSL_FEATURE_FLASH_HAS_READ_1S_ALL_BLOCKS_CMD (1)
224     /* @brief Has 0x41 Read Once command. */
225     #define FSL_FEATURE_FLASH_HAS_READ_ONCE_CMD (1)
226     /* @brief Has 0x43 Program Once command. */
227     #define FSL_FEATURE_FLASH_HAS_PROGRAM_ONCE_CMD (1)
228     /* @brief Has 0x44 Erase All Blocks command. */
229     #define FSL_FEATURE_FLASH_HAS_ERASE_ALL_BLOCKS_CMD (1)
230     /* @brief Has 0x45 Verify Backdoor Access Key command. */
231     #define FSL_FEATURE_FLASH_HAS_VERIFY_BACKDOOR_ACCESS_KEY_CMD (1)
232     /* @brief Has 0x46 Swap Control command. */
233     #define FSL_FEATURE_FLASH_HAS_SWAP_CONTROL_CMD (0)
234     /* @brief Has 0x49 Erase All Blocks Unsecure command. */
235     #define FSL_FEATURE_FLASH_HAS_ERASE_ALL_BLOCKS_UNSECURE_CMD (0)
236     /* @brief Has 0x4A Read 1s All Execute-only Segments command. */
237     #define FSL_FEATURE_FLASH_HAS_READ_1S_ALL_EXECUTE_ONLY_SEGMENTS_CMD (0)
238     /* @brief Has 0x4B Erase All Execute-only Segments command. */
239     #define FSL_FEATURE_FLASH_HAS_ERASE_ALL_EXECUTE_ONLY_SEGMENTS_CMD (0)
240     /* @brief Has 0x80 Program Partition command. */
241     #define FSL_FEATURE_FLASH_HAS_PROGRAM_PARTITION_CMD (0)
242     /* @brief Has 0x81 Set FlexRAM Function command. */
243     #define FSL_FEATURE_FLASH_HAS_SET_FLEXRAM_FUNCTION_CMD (0)
244     /* @brief P-Flash Erase/Read 1st all block command address alignment. */
245     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_CMD_ADDRESS_ALIGMENT (4)
246     /* @brief P-Flash Erase sector command address alignment. */
247     #define FSL_FEATURE_FLASH_PFLASH_SECTOR_CMD_ADDRESS_ALIGMENT (4)
248     /* @brief P-Flash Rrogram/Verify section command address alignment. */
249     #define FSL_FEATURE_FLASH_PFLASH_SECTION_CMD_ADDRESS_ALIGMENT (4)
250     /* @brief P-Flash Read resource command address alignment. */
251     #define FSL_FEATURE_FLASH_PFLASH_RESOURCE_CMD_ADDRESS_ALIGMENT (4)
252     /* @brief P-Flash Program check command address alignment. */
253     #define FSL_FEATURE_FLASH_PFLASH_CHECK_CMD_ADDRESS_ALIGMENT (4)
254     /* @brief P-Flash Program check command address alignment. */
255     #define FSL_FEATURE_FLASH_PFLASH_SWAP_CONTROL_CMD_ADDRESS_ALIGMENT (0)
256     /* @brief FlexNVM Erase/Read 1st all block command address alignment. */
257     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_CMD_ADDRESS_ALIGMENT (0)
258     /* @brief FlexNVM Erase sector command address alignment. */
259     #define FSL_FEATURE_FLASH_FLEX_NVM_SECTOR_CMD_ADDRESS_ALIGMENT (0)
260     /* @brief FlexNVM Rrogram/Verify section command address alignment. */
261     #define FSL_FEATURE_FLASH_FLEX_NVM_SECTION_CMD_ADDRESS_ALIGMENT (0)
262     /* @brief FlexNVM Read resource command address alignment. */
263     #define FSL_FEATURE_FLASH_FLEX_NVM_RESOURCE_CMD_ADDRESS_ALIGMENT (0)
264     /* @brief FlexNVM Program check command address alignment. */
265     #define FSL_FEATURE_FLASH_FLEX_NVM_CHECK_CMD_ADDRESS_ALIGMENT (0)
266     /* @brief FlexNVM partition code 0000 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
267     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0000 (0xFFFFFFFFU)
268     /* @brief FlexNVM partition code 0001 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
269     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0001 (0xFFFFFFFFU)
270     /* @brief FlexNVM partition code 0010 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
271     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0010 (0xFFFFFFFFU)
272     /* @brief FlexNVM partition code 0011 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
273     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0011 (0xFFFFFFFFU)
274     /* @brief FlexNVM partition code 0100 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
275     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0100 (0xFFFFFFFFU)
276     /* @brief FlexNVM partition code 0101 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
277     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0101 (0xFFFFFFFFU)
278     /* @brief FlexNVM partition code 0110 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
279     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0110 (0xFFFFFFFFU)
280     /* @brief FlexNVM partition code 0111 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
281     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0111 (0xFFFFFFFFU)
282     /* @brief FlexNVM partition code 1000 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
283     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1000 (0xFFFFFFFFU)
284     /* @brief FlexNVM partition code 1001 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
285     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1001 (0xFFFFFFFFU)
286     /* @brief FlexNVM partition code 1010 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
287     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1010 (0xFFFFFFFFU)
288     /* @brief FlexNVM partition code 1011 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
289     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1011 (0xFFFFFFFFU)
290     /* @brief FlexNVM partition code 1100 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
291     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1100 (0xFFFFFFFFU)
292     /* @brief FlexNVM partition code 1101 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
293     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1101 (0xFFFFFFFFU)
294     /* @brief FlexNVM partition code 1110 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
295     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1110 (0xFFFFFFFFU)
296     /* @brief FlexNVM partition code 1111 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
297     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1111 (0xFFFFFFFFU)
298     /* @brief Emulated eeprom size code 0000 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
299     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0000 (0xFFFF)
300     /* @brief Emulated eeprom size code 0001 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
301     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0001 (0xFFFF)
302     /* @brief Emulated eeprom size code 0010 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
303     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0010 (0xFFFF)
304     /* @brief Emulated eeprom size code 0011 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
305     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0011 (0xFFFF)
306     /* @brief Emulated eeprom size code 0100 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
307     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0100 (0xFFFF)
308     /* @brief Emulated eeprom size code 0101 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
309     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0101 (0xFFFF)
310     /* @brief Emulated eeprom size code 0110 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
311     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0110 (0xFFFF)
312     /* @brief Emulated eeprom size code 0111 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
313     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0111 (0xFFFF)
314     /* @brief Emulated eeprom size code 1000 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
315     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1000 (0xFFFF)
316     /* @brief Emulated eeprom size code 1001 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
317     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1001 (0xFFFF)
318     /* @brief Emulated eeprom size code 1010 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
319     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1010 (0xFFFF)
320     /* @brief Emulated eeprom size code 1011 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
321     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1011 (0xFFFF)
322     /* @brief Emulated eeprom size code 1100 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
323     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1100 (0xFFFF)
324     /* @brief Emulated eeprom size code 1101 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
325     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1101 (0xFFFF)
326     /* @brief Emulated eeprom size code 1110 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
327     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1110 (0xFFFF)
328     /* @brief Emulated eeprom size code 1111 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
329     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1111 (0xFFFF)
330 #elif defined(CPU_MKE15Z64VFP4) || defined(CPU_MKE15Z64VLD4) || defined(CPU_MKE15Z64VLF4)
331     /* @brief Is of type FTFA. */
332     #define FSL_FEATURE_FLASH_IS_FTFA (1)
333     /* @brief Is of type FTFE. */
334     #define FSL_FEATURE_FLASH_IS_FTFE (0)
335     /* @brief Is of type FTFL. */
336     #define FSL_FEATURE_FLASH_IS_FTFL (0)
337     /* @brief Has flags indicating the status of the FlexRAM (register bits FCNFG[EEERDY], FCNFG[RAMRDY] and FCNFG[PFLSH]). */
338     #define FSL_FEATURE_FLASH_HAS_FLEX_RAM_FLAGS (0)
339     /* @brief Has program flash swapping status flag (register bit FCNFG[SWAP]). */
340     #define FSL_FEATURE_FLASH_HAS_PFLASH_SWAPPING_STATUS_FLAG (0)
341     /* @brief Has EEPROM region protection (register FEPROT). */
342     #define FSL_FEATURE_FLASH_HAS_EEROM_REGION_PROTECTION (0)
343     /* @brief Has data flash region protection (register FDPROT). */
344     #define FSL_FEATURE_FLASH_HAS_DATA_FLASH_REGION_PROTECTION (0)
345     /* @brief Has flash access control (registers XACCHn, SACCHn, where n is a number, FACSS and FACSN). */
346     #define FSL_FEATURE_FLASH_HAS_ACCESS_CONTROL (0)
347     /* @brief Has flash cache control in FMC module. */
348     #define FSL_FEATURE_FLASH_HAS_FMC_FLASH_CACHE_CONTROLS (0)
349     /* @brief Has flash cache control in MCM module. */
350     #define FSL_FEATURE_FLASH_HAS_MCM_FLASH_CACHE_CONTROLS (1)
351     /* @brief Has flash cache control in MSCM module. */
352     #define FSL_FEATURE_FLASH_HAS_MSCM_FLASH_CACHE_CONTROLS (0)
353     /* @brief Has prefetch speculation control in flash, such as kv5x. */
354     #define FSL_FEATURE_FLASH_PREFETCH_SPECULATION_CONTROL_IN_FLASH (0)
355     /* @brief P-Flash flash size coding rule version, value 0 for K1 and K2, value 1 for K3. */
356     #define FSL_FEATURE_FLASH_SIZE_ENCODING_RULE_VERSION (0)
357     /* @brief P-Flash start address. */
358     #define FSL_FEATURE_FLASH_PFLASH_START_ADDRESS (0x00000000)
359     /* @brief P-Flash block count. */
360     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_COUNT (1)
361     /* @brief P-Flash block size. */
362     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_SIZE (65536)
363     /* @brief P-Flash sector size. */
364     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_SECTOR_SIZE (1024)
365     /* @brief P-Flash write unit size. */
366     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_WRITE_UNIT_SIZE (4)
367     /* @brief P-Flash data path width. */
368     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_DATA_PATH_WIDTH (4)
369     /* @brief P-Flash block swap feature. */
370     #define FSL_FEATURE_FLASH_HAS_PFLASH_BLOCK_SWAP (0)
371     /* @brief P-Flash protection region count. */
372     #define FSL_FEATURE_FLASH_PFLASH_PROTECTION_REGION_COUNT (32)
373     /* @brief Has FlexNVM memory. */
374     #define FSL_FEATURE_FLASH_HAS_FLEX_NVM (0)
375     /* @brief Has FlexNVM alias. */
376     #define FSL_FEATURE_FLASH_HAS_FLEX_NVM_ALIAS (0)
377     /* @brief FlexNVM start address. (Valid only if FlexNVM is available.) */
378     #define FSL_FEATURE_FLASH_FLEX_NVM_START_ADDRESS (0x00000000)
379     /* @brief FlexNVM alias start address. (Valid only if FlexNVM alias is available.) */
380     #define FSL_FEATURE_FLASH_FLEX_NVM_ALIAS_START_ADDRESS (0x00000000)
381     /* @brief FlexNVM block count. */
382     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_COUNT (0)
383     /* @brief FlexNVM block size. */
384     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_SIZE (0)
385     /* @brief FlexNVM sector size. */
386     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_SECTOR_SIZE (0)
387     /* @brief FlexNVM write unit size. */
388     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_WRITE_UNIT_SIZE (0)
389     /* @brief FlexNVM data path width. */
390     #define FSL_FEATURE_FLASH_FLEX_BLOCK_DATA_PATH_WIDTH (0)
391     /* @brief Has FlexRAM memory. */
392     #define FSL_FEATURE_FLASH_HAS_FLEX_RAM (0)
393     /* @brief FlexRAM start address. (Valid only if FlexRAM is available.) */
394     #define FSL_FEATURE_FLASH_FLEX_RAM_START_ADDRESS (0x00000000)
395     /* @brief FlexRAM size. */
396     #define FSL_FEATURE_FLASH_FLEX_RAM_SIZE (0)
397     /* @brief Has 0x00 Read 1s Block command. */
398     #define FSL_FEATURE_FLASH_HAS_READ_1S_BLOCK_CMD (0)
399     /* @brief Has 0x01 Read 1s Section command. */
400     #define FSL_FEATURE_FLASH_HAS_READ_1S_SECTION_CMD (1)
401     /* @brief Has 0x02 Program Check command. */
402     #define FSL_FEATURE_FLASH_HAS_PROGRAM_CHECK_CMD (1)
403     /* @brief Has 0x03 Read Resource command. */
404     #define FSL_FEATURE_FLASH_HAS_READ_RESOURCE_CMD (1)
405     /* @brief Has 0x06 Program Longword command. */
406     #define FSL_FEATURE_FLASH_HAS_PROGRAM_LONGWORD_CMD (1)
407     /* @brief Has 0x07 Program Phrase command. */
408     #define FSL_FEATURE_FLASH_HAS_PROGRAM_PHRASE_CMD (0)
409     /* @brief Has 0x08 Erase Flash Block command. */
410     #define FSL_FEATURE_FLASH_HAS_ERASE_FLASH_BLOCK_CMD (0)
411     /* @brief Has 0x09 Erase Flash Sector command. */
412     #define FSL_FEATURE_FLASH_HAS_ERASE_FLASH_SECTOR_CMD (1)
413     /* @brief Has 0x0B Program Section command. */
414     #define FSL_FEATURE_FLASH_HAS_PROGRAM_SECTION_CMD (0)
415     /* @brief Has 0x40 Read 1s All Blocks command. */
416     #define FSL_FEATURE_FLASH_HAS_READ_1S_ALL_BLOCKS_CMD (1)
417     /* @brief Has 0x41 Read Once command. */
418     #define FSL_FEATURE_FLASH_HAS_READ_ONCE_CMD (1)
419     /* @brief Has 0x43 Program Once command. */
420     #define FSL_FEATURE_FLASH_HAS_PROGRAM_ONCE_CMD (1)
421     /* @brief Has 0x44 Erase All Blocks command. */
422     #define FSL_FEATURE_FLASH_HAS_ERASE_ALL_BLOCKS_CMD (1)
423     /* @brief Has 0x45 Verify Backdoor Access Key command. */
424     #define FSL_FEATURE_FLASH_HAS_VERIFY_BACKDOOR_ACCESS_KEY_CMD (1)
425     /* @brief Has 0x46 Swap Control command. */
426     #define FSL_FEATURE_FLASH_HAS_SWAP_CONTROL_CMD (0)
427     /* @brief Has 0x49 Erase All Blocks Unsecure command. */
428     #define FSL_FEATURE_FLASH_HAS_ERASE_ALL_BLOCKS_UNSECURE_CMD (0)
429     /* @brief Has 0x4A Read 1s All Execute-only Segments command. */
430     #define FSL_FEATURE_FLASH_HAS_READ_1S_ALL_EXECUTE_ONLY_SEGMENTS_CMD (0)
431     /* @brief Has 0x4B Erase All Execute-only Segments command. */
432     #define FSL_FEATURE_FLASH_HAS_ERASE_ALL_EXECUTE_ONLY_SEGMENTS_CMD (0)
433     /* @brief Has 0x80 Program Partition command. */
434     #define FSL_FEATURE_FLASH_HAS_PROGRAM_PARTITION_CMD (0)
435     /* @brief Has 0x81 Set FlexRAM Function command. */
436     #define FSL_FEATURE_FLASH_HAS_SET_FLEXRAM_FUNCTION_CMD (0)
437     /* @brief P-Flash Erase/Read 1st all block command address alignment. */
438     #define FSL_FEATURE_FLASH_PFLASH_BLOCK_CMD_ADDRESS_ALIGMENT (4)
439     /* @brief P-Flash Erase sector command address alignment. */
440     #define FSL_FEATURE_FLASH_PFLASH_SECTOR_CMD_ADDRESS_ALIGMENT (4)
441     /* @brief P-Flash Rrogram/Verify section command address alignment. */
442     #define FSL_FEATURE_FLASH_PFLASH_SECTION_CMD_ADDRESS_ALIGMENT (4)
443     /* @brief P-Flash Read resource command address alignment. */
444     #define FSL_FEATURE_FLASH_PFLASH_RESOURCE_CMD_ADDRESS_ALIGMENT (4)
445     /* @brief P-Flash Program check command address alignment. */
446     #define FSL_FEATURE_FLASH_PFLASH_CHECK_CMD_ADDRESS_ALIGMENT (4)
447     /* @brief P-Flash Program check command address alignment. */
448     #define FSL_FEATURE_FLASH_PFLASH_SWAP_CONTROL_CMD_ADDRESS_ALIGMENT (0)
449     /* @brief FlexNVM Erase/Read 1st all block command address alignment. */
450     #define FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_CMD_ADDRESS_ALIGMENT (0)
451     /* @brief FlexNVM Erase sector command address alignment. */
452     #define FSL_FEATURE_FLASH_FLEX_NVM_SECTOR_CMD_ADDRESS_ALIGMENT (0)
453     /* @brief FlexNVM Rrogram/Verify section command address alignment. */
454     #define FSL_FEATURE_FLASH_FLEX_NVM_SECTION_CMD_ADDRESS_ALIGMENT (0)
455     /* @brief FlexNVM Read resource command address alignment. */
456     #define FSL_FEATURE_FLASH_FLEX_NVM_RESOURCE_CMD_ADDRESS_ALIGMENT (0)
457     /* @brief FlexNVM Program check command address alignment. */
458     #define FSL_FEATURE_FLASH_FLEX_NVM_CHECK_CMD_ADDRESS_ALIGMENT (0)
459     /* @brief FlexNVM partition code 0000 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
460     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0000 (0xFFFFFFFFU)
461     /* @brief FlexNVM partition code 0001 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
462     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0001 (0xFFFFFFFFU)
463     /* @brief FlexNVM partition code 0010 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
464     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0010 (0xFFFFFFFFU)
465     /* @brief FlexNVM partition code 0011 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
466     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0011 (0xFFFFFFFFU)
467     /* @brief FlexNVM partition code 0100 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
468     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0100 (0xFFFFFFFFU)
469     /* @brief FlexNVM partition code 0101 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
470     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0101 (0xFFFFFFFFU)
471     /* @brief FlexNVM partition code 0110 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
472     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0110 (0xFFFFFFFFU)
473     /* @brief FlexNVM partition code 0111 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
474     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_0111 (0xFFFFFFFFU)
475     /* @brief FlexNVM partition code 1000 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
476     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1000 (0xFFFFFFFFU)
477     /* @brief FlexNVM partition code 1001 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
478     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1001 (0xFFFFFFFFU)
479     /* @brief FlexNVM partition code 1010 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
480     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1010 (0xFFFFFFFFU)
481     /* @brief FlexNVM partition code 1011 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
482     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1011 (0xFFFFFFFFU)
483     /* @brief FlexNVM partition code 1100 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
484     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1100 (0xFFFFFFFFU)
485     /* @brief FlexNVM partition code 1101 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
486     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1101 (0xFFFFFFFFU)
487     /* @brief FlexNVM partition code 1110 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
488     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1110 (0xFFFFFFFFU)
489     /* @brief FlexNVM partition code 1111 mapping to data flash size in bytes (0xFFFFFFFF = reserved). */
490     #define FSL_FEATURE_FLASH_FLEX_NVM_DFLASH_SIZE_FOR_DEPART_1111 (0xFFFFFFFFU)
491     /* @brief Emulated eeprom size code 0000 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
492     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0000 (0xFFFF)
493     /* @brief Emulated eeprom size code 0001 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
494     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0001 (0xFFFF)
495     /* @brief Emulated eeprom size code 0010 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
496     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0010 (0xFFFF)
497     /* @brief Emulated eeprom size code 0011 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
498     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0011 (0xFFFF)
499     /* @brief Emulated eeprom size code 0100 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
500     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0100 (0xFFFF)
501     /* @brief Emulated eeprom size code 0101 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
502     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0101 (0xFFFF)
503     /* @brief Emulated eeprom size code 0110 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
504     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0110 (0xFFFF)
505     /* @brief Emulated eeprom size code 0111 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
506     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_0111 (0xFFFF)
507     /* @brief Emulated eeprom size code 1000 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
508     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1000 (0xFFFF)
509     /* @brief Emulated eeprom size code 1001 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
510     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1001 (0xFFFF)
511     /* @brief Emulated eeprom size code 1010 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
512     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1010 (0xFFFF)
513     /* @brief Emulated eeprom size code 1011 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
514     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1011 (0xFFFF)
515     /* @brief Emulated eeprom size code 1100 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
516     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1100 (0xFFFF)
517     /* @brief Emulated eeprom size code 1101 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
518     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1101 (0xFFFF)
519     /* @brief Emulated eeprom size code 1110 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
520     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1110 (0xFFFF)
521     /* @brief Emulated eeprom size code 1111 mapping to emulated eeprom size in bytes (0xFFFF = reserved). */
522     #define FSL_FEATURE_FLASH_FLEX_NVM_EEPROM_SIZE_FOR_EEESIZE_1111 (0xFFFF)
523 #endif /* defined(CPU_MKE15Z32VFP4) || defined(CPU_MKE15Z32VLD4) || defined(CPU_MKE15Z32VLF4) */
524 
525 /* FTM module features */
526 
527 /* @brief Number of channels. */
528 #define FSL_FEATURE_FTM_CHANNEL_COUNTn(x) \
529     (((x) == FTM0) ? (6) : \
530     (((x) == FTM1) ? (2) : (-1)))
531 /* @brief Has counter reset by the selected input capture event (register bits C0SC[ICRST], C1SC[ICRST], ...). */
532 #define FSL_FEATURE_FTM_HAS_COUNTER_RESET_BY_CAPTURE_EVENT (1)
533 /* @brief Has extended deadtime value. */
534 #define FSL_FEATURE_FTM_HAS_EXTENDED_DEADTIME_VALUE (0)
535 /* @brief Enable pwm output for the module. */
536 #define FSL_FEATURE_FTM_HAS_ENABLE_PWM_OUTPUT (1)
537 /* @brief Has half-cycle reload for the module. */
538 #define FSL_FEATURE_FTM_HAS_HALFCYCLE_RELOAD (1)
539 /* @brief Has reload interrupt. */
540 #define FSL_FEATURE_FTM_HAS_RELOAD_INTERRUPT (1)
541 /* @brief Has reload initialization trigger. */
542 #define FSL_FEATURE_FTM_HAS_RELOAD_INITIALIZATION_TRIGGER (1)
543 /* @brief Has DMA support, bitfield CnSC[DMA]. */
544 #define FSL_FEATURE_FTM_HAS_DMA_SUPPORT (0)
545 /* @brief If channel 6 is used to generate channel trigger, bitfield EXTTRIG[CH6TRIG]. */
546 #define FSL_FEATURE_FTM_HAS_CHANNEL6_TRIGGER (0)
547 /* @brief If channel 7 is used to generate channel trigger, bitfield EXTTRIG[CH7TRIG]. */
548 #define FSL_FEATURE_FTM_HAS_CHANNEL7_TRIGGER (0)
549 /* @brief If instance has only TPM function. */
550 #define FSL_FEATURE_FTM_IS_TPM_ONLY_INSTANCEn(x) (0)
551 /* @brief Has frequency of the reload opportunities, bitfield CONF[LDFQ]. */
552 #define FSL_FEATURE_FTM_HAS_CONF_LDFQ_BIT (1)
553 
554 /* GPIO module features */
555 
556 /* @brief Has GPIO attribute checker register (GACR). */
557 #define FSL_FEATURE_GPIO_HAS_ATTRIBUTE_CHECKER (0)
558 
559 /* LPI2C module features */
560 
561 /* @brief Has separate DMA RX and TX requests. */
562 #define FSL_FEATURE_LPI2C_HAS_SEPARATE_DMA_RX_TX_REQn(x) (0)
563 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
564 #define FSL_FEATURE_LPI2C_FIFO_SIZEn(x) (4)
565 
566 /* LPIT module features */
567 
568 /* @brief Number of channels (related to number of registers LDVALn, CVALn, TCTRLn, TFLGn). */
569 #define FSL_FEATURE_LPIT_TIMER_COUNT (2)
570 /* @brief Has lifetime timer (related to existence of registers LTMR64L and LTMR64H). */
571 #define FSL_FEATURE_LPIT_HAS_LIFETIME_TIMER (0)
572 /* @brief Has shared interrupt handler (has not individual interrupt handler for each channel). */
573 #define FSL_FEATURE_LPIT_HAS_SHARED_IRQ_HANDLER (1)
574 
575 /* LPSPI module features */
576 
577 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
578 #define FSL_FEATURE_LPSPI_FIFO_SIZEn(x) (0)
579 /* @brief Has separate DMA RX and TX requests. */
580 #define FSL_FEATURE_LPSPI_HAS_SEPARATE_DMA_RX_TX_REQn(x) (0)
581 
582 /* LPTMR module features */
583 
584 /* @brief Has shared interrupt handler with another LPTMR module. */
585 #define FSL_FEATURE_LPTMR_HAS_SHARED_IRQ_HANDLER (0)
586 /* @brief Whether LPTMR counter is 32 bits width. */
587 #define FSL_FEATURE_LPTMR_CNR_WIDTH_IS_32B (0)
588 /* @brief Has timer DMA request enable (register bit CSR[TDRE]). */
589 #define FSL_FEATURE_LPTMR_HAS_CSR_TDRE (1)
590 
591 /* LPUART module features */
592 
593 /* @brief Has receive FIFO overflow detection (bit field CFIFO[RXOFE]). */
594 #define FSL_FEATURE_LPUART_HAS_IRQ_EXTENDED_FUNCTIONS (0)
595 /* @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). */
596 #define FSL_FEATURE_LPUART_HAS_LOW_POWER_UART_SUPPORT (1)
597 /* @brief Has extended data register ED (or extra flags in the DATA register if the registers are 32-bit wide). */
598 #define FSL_FEATURE_LPUART_HAS_EXTENDED_DATA_REGISTER_FLAGS (1)
599 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
600 #define FSL_FEATURE_LPUART_HAS_FIFO (1)
601 /* @brief Has 32-bit register MODIR */
602 #define FSL_FEATURE_LPUART_HAS_MODIR (1)
603 /* @brief Hardware flow control (RTS, CTS) is supported. */
604 #define FSL_FEATURE_LPUART_HAS_MODEM_SUPPORT (1)
605 /* @brief Infrared (modulation) is supported. */
606 #define FSL_FEATURE_LPUART_HAS_IR_SUPPORT (1)
607 /* @brief 2 bits long stop bit is available. */
608 #define FSL_FEATURE_LPUART_HAS_STOP_BIT_CONFIG_SUPPORT (1)
609 /* @brief If 10-bit mode is supported. */
610 #define FSL_FEATURE_LPUART_HAS_10BIT_DATA_SUPPORT (1)
611 /* @brief If 7-bit mode is supported. */
612 #define FSL_FEATURE_LPUART_HAS_7BIT_DATA_SUPPORT (1)
613 /* @brief Baud rate fine adjustment is available. */
614 #define FSL_FEATURE_LPUART_HAS_BAUD_RATE_FINE_ADJUST_SUPPORT (0)
615 /* @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). */
616 #define FSL_FEATURE_LPUART_HAS_BAUD_RATE_OVER_SAMPLING_SUPPORT (1)
617 /* @brief Baud rate oversampling is available. */
618 #define FSL_FEATURE_LPUART_HAS_RX_RESYNC_SUPPORT (1)
619 /* @brief Baud rate oversampling is available. */
620 #define FSL_FEATURE_LPUART_HAS_BOTH_EDGE_SAMPLING_SUPPORT (1)
621 /* @brief Peripheral type. */
622 #define FSL_FEATURE_LPUART_IS_SCI (1)
623 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
624 #define FSL_FEATURE_LPUART_FIFO_SIZEn(x) (4)
625 /* @brief Supports two match addresses to filter incoming frames. */
626 #define FSL_FEATURE_LPUART_HAS_ADDRESS_MATCHING (1)
627 /* @brief Has transmitter/receiver DMA enable bits C5[TDMAE]/C5[RDMAE] (or BAUD[TDMAE]/BAUD[RDMAE] if the registers are 32-bit wide). */
628 #define FSL_FEATURE_LPUART_HAS_DMA_ENABLE (0)
629 /* @brief Has transmitter/receiver DMA select bits C4[TDMAS]/C4[RDMAS], resp. C5[TDMAS]/C5[RDMAS] if IS_SCI = 0. */
630 #define FSL_FEATURE_LPUART_HAS_DMA_SELECT (0)
631 /* @brief Data character bit order selection is supported (bit field S2[MSBF] or STAT[MSBF] if the registers are 32-bit wide). */
632 #define FSL_FEATURE_LPUART_HAS_BIT_ORDER_SELECT (1)
633 /* @brief Has smart card (ISO7816 protocol) support and no improved smart card support. */
634 #define FSL_FEATURE_LPUART_HAS_SMART_CARD_SUPPORT (0)
635 /* @brief Has improved smart card (ISO7816 protocol) support. */
636 #define FSL_FEATURE_LPUART_HAS_IMPROVED_SMART_CARD_SUPPORT (0)
637 /* @brief Has local operation network (CEA709.1-B protocol) support. */
638 #define FSL_FEATURE_LPUART_HAS_LOCAL_OPERATION_NETWORK_SUPPORT (0)
639 /* @brief Has 32-bit registers (BAUD, STAT, CTRL, DATA, MATCH, MODIR) instead of 8-bit (BDH, BDL, C1, S1, D, etc.). */
640 #define FSL_FEATURE_LPUART_HAS_32BIT_REGISTERS (1)
641 /* @brief Lin break detect available (has bit BAUD[LBKDIE]). */
642 #define FSL_FEATURE_LPUART_HAS_LIN_BREAK_DETECT (1)
643 /* @brief UART stops in Wait mode available (has bit C1[UARTSWAI]). */
644 #define FSL_FEATURE_LPUART_HAS_WAIT_MODE_OPERATION (0)
645 /* @brief Has separate DMA RX and TX requests. */
646 #define FSL_FEATURE_LPUART_HAS_SEPARATE_DMA_RX_TX_REQn(x) (0)
647 /* @brief Has separate RX and TX interrupts. */
648 #define FSL_FEATURE_LPUART_HAS_SEPARATE_RX_TX_IRQ (0)
649 /* @brief Has LPAURT_PARAM. */
650 #define FSL_FEATURE_LPUART_HAS_PARAM (1)
651 /* @brief Has LPUART_VERID. */
652 #define FSL_FEATURE_LPUART_HAS_VERID (1)
653 /* @brief Has LPUART_GLOBAL. */
654 #define FSL_FEATURE_LPUART_HAS_GLOBAL (1)
655 /* @brief Has LPUART_PINCFG. */
656 #define FSL_FEATURE_LPUART_HAS_PINCFG (1)
657 
658 /* MMDVSQ module features */
659 
660 /* No feature definitions */
661 
662 /* interrupt module features */
663 
664 /* @brief Lowest interrupt request number. */
665 #define FSL_FEATURE_INTERRUPT_IRQ_MIN (-14)
666 /* @brief Highest interrupt request number. */
667 #define FSL_FEATURE_INTERRUPT_IRQ_MAX (29)
668 
669 /* PDB module features */
670 
671 /* @brief Has DAC support. */
672 #define FSL_FEATURE_PDB_HAS_DAC (0)
673 /* @brief Has shared interrupt handler (has not individual interrupt handler for each channel). */
674 #define FSL_FEATURE_PDB_HAS_SHARED_IRQ_HANDLER (0)
675 /* @brief PDB channel number). */
676 #define FSL_FEATURE_PDB_CHANNEL_COUNT (1)
677 /* @brief Channel pre-trigger nunmber (related to number of registers CHmDLYn). */
678 #define FSL_FEATURE_PDB_CHANNEL_PRE_TRIGGER_COUNT (4)
679 /* @brief DAC interval trigger number). */
680 #define FSL_FEATURE_PDB_DAC_INTERVAL_TRIGGER_COUNT (0)
681 /* @brief Pulse out number). */
682 #define FSL_FEATURE_PDB_PULSE_OUT_COUNT (1)
683 
684 /* PMC module features */
685 
686 /* @brief Has Bandgap Enable In VLPx Operation support. */
687 #define FSL_FEATURE_PMC_HAS_BGEN (0)
688 /* @brief Has Bandgap Buffer Enable. */
689 #define FSL_FEATURE_PMC_HAS_BGBE (0)
690 /* @brief Has Bandgap Buffer Drive Select. */
691 #define FSL_FEATURE_PMC_HAS_BGBDS (0)
692 /* @brief Has Low-Voltage Detect Voltage Select support. */
693 #define FSL_FEATURE_PMC_HAS_LVDV (0)
694 /* @brief Has Low-Voltage Warning Voltage Select support. */
695 #define FSL_FEATURE_PMC_HAS_LVWV (0)
696 /* @brief Has LPO. */
697 #define FSL_FEATURE_PMC_HAS_LPO (1)
698 /* @brief Has VLPx option PMC_REGSC[VLPO]. */
699 #define FSL_FEATURE_PMC_HAS_VLPO (0)
700 /* @brief Has acknowledge isolation support. */
701 #define FSL_FEATURE_PMC_HAS_ACKISO (0)
702 /* @brief Has Regulator In Full Performance Mode Status Bit PMC_REGSC[REGFPM]. */
703 #define FSL_FEATURE_PMC_HAS_REGFPM (1)
704 /* @brief Has Regulator In Run Regulation Status Bit PMC_REGSC[REGONS]. */
705 #define FSL_FEATURE_PMC_HAS_REGONS (0)
706 /* @brief Has PMC_HVDSC1. */
707 #define FSL_FEATURE_PMC_HAS_HVDSC1 (0)
708 /* @brief Has PMC_PARAM. */
709 #define FSL_FEATURE_PMC_HAS_PARAM (0)
710 /* @brief Has PMC_VERID. */
711 #define FSL_FEATURE_PMC_HAS_VERID (0)
712 
713 /* PORT module features */
714 
715 /* @brief Has control lock (register bit PCR[LK]). */
716 #define FSL_FEATURE_PORT_HAS_PIN_CONTROL_LOCK (1)
717 /* @brief Has open drain control (register bit PCR[ODE]). */
718 #define FSL_FEATURE_PORT_HAS_OPEN_DRAIN (0)
719 /* @brief Has digital filter (registers DFER, DFCR and DFWR). */
720 #define FSL_FEATURE_PORT_HAS_DIGITAL_FILTER (1)
721 /* @brief Has DMA request (register bit field PCR[IRQC] values). */
722 #define FSL_FEATURE_PORT_HAS_DMA_REQUEST (1)
723 /* @brief Has pull resistor selection available. */
724 #define FSL_FEATURE_PORT_HAS_PULL_SELECTION (1)
725 /* @brief Has pull resistor enable (register bit PCR[PE]). */
726 #define FSL_FEATURE_PORT_HAS_PULL_ENABLE (1)
727 /* @brief Has slew rate control (register bit PCR[SRE]). */
728 #define FSL_FEATURE_PORT_HAS_SLEW_RATE (0)
729 /* @brief Has passive filter (register bit field PCR[PFE]). */
730 #define FSL_FEATURE_PORT_HAS_PASSIVE_FILTER (1)
731 /* @brief Has drive strength control (register bit PCR[DSE]). */
732 #define FSL_FEATURE_PORT_HAS_DRIVE_STRENGTH (1)
733 /* @brief Has separate drive strength register (HDRVE). */
734 #define FSL_FEATURE_PORT_HAS_DRIVE_STRENGTH_REGISTER (0)
735 /* @brief Has glitch filter (register IOFLT). */
736 #define FSL_FEATURE_PORT_HAS_GLITCH_FILTER (0)
737 /* @brief Defines width of PCR[MUX] field. */
738 #define FSL_FEATURE_PORT_PCR_MUX_WIDTH (3)
739 /* @brief Has dedicated interrupt vector. */
740 #define FSL_FEATURE_PORT_HAS_INTERRUPT_VECTOR (1)
741 /* @brief Has multiple pin IRQ configuration (register GICLR and GICHR). */
742 #define FSL_FEATURE_PORT_HAS_MULTIPLE_IRQ_CONFIG (0)
743 /* @brief Defines whether PCR[IRQC] bit-field has flag states. */
744 #define FSL_FEATURE_PORT_HAS_IRQC_FLAG (0)
745 /* @brief Defines whether PCR[IRQC] bit-field has trigger states. */
746 #define FSL_FEATURE_PORT_HAS_IRQC_TRIGGER (0)
747 
748 /* RCM module features */
749 
750 /* @brief Has Loss-of-Lock Reset support. */
751 #define FSL_FEATURE_RCM_HAS_LOL (1)
752 /* @brief Has Loss-of-Clock Reset support. */
753 #define FSL_FEATURE_RCM_HAS_LOC (1)
754 /* @brief Has JTAG generated Reset support. */
755 #define FSL_FEATURE_RCM_HAS_JTAG (0)
756 /* @brief Has EzPort generated Reset support. */
757 #define FSL_FEATURE_RCM_HAS_EZPORT (0)
758 /* @brief Has bit-field indicating EZP_MS_B pin state during last reset. */
759 #define FSL_FEATURE_RCM_HAS_EZPMS (0)
760 /* @brief Has boot ROM configuration, MR[BOOTROM], FM[FORCEROM] */
761 #define FSL_FEATURE_RCM_HAS_BOOTROM (1)
762 /* @brief Has sticky system reset status register RCM_SSRS0 and RCM_SSRS1. */
763 #define FSL_FEATURE_RCM_HAS_SSRS (1)
764 /* @brief Has RCM_VERID. */
765 #define FSL_FEATURE_RCM_HAS_VERID (1)
766 /* @brief Has RCM_PARAM. */
767 #define FSL_FEATURE_RCM_HAS_PARAM (0)
768 /* @brief Has Reset Interrupt Enable Register RCM_SRIE. */
769 #define FSL_FEATURE_RCM_HAS_SRIE (1)
770 /* @brief RCM register bit width. */
771 #define FSL_FEATURE_RCM_REG_WIDTH (32)
772 /* @brief Has Core 1 generated  Reset support RCM_SRS[CORE1] */
773 #define FSL_FEATURE_RCM_HAS_CORE1 (0)
774 /* @brief Has MDM-AP system reset support RCM_SRS[MDM_AP] */
775 #define FSL_FEATURE_RCM_HAS_MDM_AP (1)
776 /* @brief Has wakeup reset feature. Register bit SRS[WAKEUP]. */
777 #define FSL_FEATURE_RCM_HAS_WAKEUP (0)
778 
779 /* RTC module features */
780 
781 /* @brief Has wakeup pin. */
782 #define FSL_FEATURE_RTC_HAS_WAKEUP_PIN (0)
783 /* @brief Has wakeup pin selection (bit field CR[WPS]). */
784 #define FSL_FEATURE_RTC_HAS_WAKEUP_PIN_SELECTION (1)
785 /* @brief Has low power features (registers MER, MCLR and MCHR). */
786 #define FSL_FEATURE_RTC_HAS_MONOTONIC (0)
787 /* @brief Has read/write access control (registers WAR and RAR). */
788 #define FSL_FEATURE_RTC_HAS_ACCESS_CONTROL (1)
789 /* @brief Has security features (registers TTSR, MER, MCLR and MCHR). */
790 #define FSL_FEATURE_RTC_HAS_SECURITY (0)
791 /* @brief Has RTC_CLKIN available. */
792 #define FSL_FEATURE_RTC_HAS_RTC_CLKIN (1)
793 /* @brief Has prescaler adjust for LPO. */
794 #define FSL_FEATURE_RTC_HAS_LPO_ADJUST (1)
795 /* @brief Has Clock Pin Enable field. */
796 #define FSL_FEATURE_RTC_HAS_CPE (1)
797 /* @brief Has Timer Seconds Interrupt Configuration field. */
798 #define FSL_FEATURE_RTC_HAS_TSIC (1)
799 /* @brief Has OSC capacitor setting RTC_CR[SC2P ~ SC16P] */
800 #define FSL_FEATURE_RTC_HAS_OSC_SCXP (0)
801 /* @brief Has Tamper Interrupt Register (register TIR). */
802 #define FSL_FEATURE_RTC_HAS_TIR (0)
803 /* @brief Has Tamper Pin Interrupt Enable (bitfield TIR[TPIE]). */
804 #define FSL_FEATURE_RTC_HAS_TIR_TPIE (0)
805 /* @brief Has Security Interrupt Enable (bitfield TIR[SIE]). */
806 #define FSL_FEATURE_RTC_HAS_TIR_SIE (0)
807 /* @brief Has Loss of Clock Interrupt Enable (bitfield TIR[LCIE]). */
808 #define FSL_FEATURE_RTC_HAS_TIR_LCIE (0)
809 /* @brief Has Tamper Interrupt Detect Flag (bitfield SR[TIDF]). */
810 #define FSL_FEATURE_RTC_HAS_SR_TIDF (0)
811 /* @brief Has Tamper Detect Register (register TDR). */
812 #define FSL_FEATURE_RTC_HAS_TDR (0)
813 /* @brief Has Tamper Pin Flag (bitfield TDR[TPF]). */
814 #define FSL_FEATURE_RTC_HAS_TDR_TPF (0)
815 /* @brief Has Security Tamper Flag (bitfield TDR[STF]). */
816 #define FSL_FEATURE_RTC_HAS_TDR_STF (0)
817 /* @brief Has Loss of Clock Tamper Flag (bitfield TDR[LCTF]). */
818 #define FSL_FEATURE_RTC_HAS_TDR_LCTF (0)
819 /* @brief Has Tamper Time Seconds Register (register TTSR). */
820 #define FSL_FEATURE_RTC_HAS_TTSR (0)
821 /* @brief Has Pin Configuration Register (register PCR). */
822 #define FSL_FEATURE_RTC_HAS_PCR (0)
823 
824 /* SCG module features */
825 
826 /* @brief Has platform clock divider SCG_CSR[DIVPLAT]. */
827 #define FSL_FEATURE_SCG_HAS_DIVPLAT (0)
828 /* @brief Has bus clock divider SCG_CSR[DIVBUS]. */
829 #define FSL_FEATURE_SCG_HAS_DIVBUS (0)
830 /* @brief Has external clock divide ratio SCG_CSR[DIVEXT]. */
831 #define FSL_FEATURE_SCG_HAS_DIVEXT (0)
832 /* @brief Has OSC capacitor setting SOSCCFG[SC2P ~ SC16P]. */
833 #define FSL_FEATURE_SCG_HAS_OSC_SCXP (0)
834 /* @brief Has OSC freq range SOSCCFG[RANGE]. */
835 #define FSL_FEATURE_SCG_HAS_SOSC_RANGE (1)
836 /* @brief Has SOSCCSR[SOSCERCLKEN]. */
837 #define FSL_FEATURE_SCG_HAS_OSC_ERCLK (1)
838 /* @brief Has CLKOUT configure register SCG_CLKOUTCNFG. */
839 #define FSL_FEATURE_SCG_HAS_CLKOUTCNFG (1)
840 /* @brief Has SCG_SOSCDIV[SOSCDIV1]. */
841 #define FSL_FEATURE_SCG_HAS_SOSCDIV1 (0)
842 /* @brief Has SCG_SOSCDIV[SOSCDIV3]. */
843 #define FSL_FEATURE_SCG_HAS_SOSCDIV3 (0)
844 /* @brief Has SCG_SIRCDIV[SIRCDIV1]. */
845 #define FSL_FEATURE_SCG_HAS_SIRCDIV1 (0)
846 /* @brief Has SCG_SIRCDIV[SIRCDIV3]. */
847 #define FSL_FEATURE_SCG_HAS_SIRCDIV3 (0)
848 /* @brief Has SCG_SIRCCSR[LPOPO]. */
849 #define FSL_FEATURE_SCG_HAS_SIRC_LPOPO (0)
850 /* @brief Has SCG_FIRCDIV[FIRCDIV1]. */
851 #define FSL_FEATURE_SCG_HAS_FIRCDIV1 (0)
852 /* @brief Has SCG_FIRCDIV[FIRCDIV3]. */
853 #define FSL_FEATURE_SCG_HAS_FIRCDIV3 (0)
854 /* @brief Has SCG_FIRCCSR[FIRCLPEN]. */
855 #define FSL_FEATURE_SCG_HAS_FIRCLPEN (1)
856 /* @brief Has SCG_FIRCCSR[FIRCREGOFF]. */
857 #define FSL_FEATURE_SCG_HAS_FIRCREGOFF (1)
858 /* @brief Has SCG_SPLLDIV[SPLLDIV1]. */
859 #define FSL_FEATURE_SCG_HAS_SPLLDIV1 (0)
860 /* @brief Has SCG_SPLLDIV[SPLLDIV3]. */
861 #define FSL_FEATURE_SCG_HAS_SPLLDIV3 (0)
862 /* @brief Has SCG_SPLLCFG[PLLPOSTDIV1]. */
863 #define FSL_FEATURE_SCG_HAS_SPLLPOSTDIV1 (0)
864 /* @brief Has SCG_SPLLCFG[PLLPOSTDIV2]. */
865 #define FSL_FEATURE_SCG_HAS_SPLLPOSTDIV2 (0)
866 /* @brief Has SCG_SPLLCFG[PLLS]. */
867 #define FSL_FEATURE_SCG_HAS_SPLL_PLLS (0)
868 /* @brief Has SCG_SPLLCFG[BYPASS]. */
869 #define FSL_FEATURE_SCG_HAS_SPLL_BYPASS (0)
870 /* @brief Has SCG_SPLLCFG[PFDSEL]. */
871 #define FSL_FEATURE_SCG_HAS_SPLL_PFDSEL (0)
872 /* @brief Has SCG_SPLLCSR[SPLLCM]. */
873 #define FSL_FEATURE_SCG_HAS_SPLL_MONITOR (0)
874 /* @brief Has SCG_LPFLLDIV[FLLDIV1]. */
875 #define FSL_FEATURE_SCG_HAS_FLLDIV1 (0)
876 /* @brief Has SCG_LPFLLDIV[FLLDIV3]. */
877 #define FSL_FEATURE_SCG_HAS_FLLDIV3 (0)
878 /* @brief Has low power FLL, SCG_LPFLLCSR. */
879 #define FSL_FEATURE_SCG_HAS_LPFLL (1)
880 /* @brief Has low power FLL stop enable. */
881 #define FSL_FEATURE_SCG_HAS_LPFLLSTEN (0)
882 /* @brief Has system PLL, SCG_SPLLCSR. */
883 #define FSL_FEATURE_SCG_HAS_SPLL (0)
884 /* @brief Has system PLL PFD, SCG_SPLLPFD. */
885 #define FSL_FEATURE_SCG_HAS_SPLLPFD (0)
886 /* @brief Has auxiliary PLL, SCG_APLLCSR. */
887 #define FSL_FEATURE_SCG_HAS_APLL (0)
888 /* @brief Has RTC OSC control, SCG_ROSCCSR. */
889 #define FSL_FEATURE_SCG_HAS_ROSC (0)
890 /* @brief Has RTC OSC clock source. */
891 #define FSL_FEATURE_SCG_HAS_ROSC_SYS_CLK_SRC (0)
892 /* @brief Has RTC OSC clock out select. */
893 #define FSL_FEATURE_SCG_HAS_ROSC_CLKOUT (0)
894 /* @brief Has SIRC clock out select. */
895 #define FSL_FEATURE_SCG_HAS_EXT_CLKOUT (0)
896 /* @brief Has FIRC trim source USB0 Start of Frame. */
897 #define FSL_FEATURE_SCG_HAS_FIRC_TRIMSRC_USB0 (0)
898 /* @brief Has FIRC trim source USB1 Start of Frame. */
899 #define FSL_FEATURE_SCG_HAS_FIRC_TRIMSRC_USB1 (0)
900 /* @brief Has FIRC trim source system OSC. */
901 #define FSL_FEATURE_SCG_HAS_FIRC_TRIMSRC_SOSC (1)
902 /* @brief Has FIRC trim source RTC OSC. */
903 #define FSL_FEATURE_SCG_HAS_FIRC_TRIMSRC_RTCOSC (0)
904 
905 /* SMC module features */
906 
907 /* @brief Has partial stop option (register bit STOPCTRL[PSTOPO]). */
908 #define FSL_FEATURE_SMC_HAS_PSTOPO (1)
909 /* @brief Has LPO power option (register bit STOPCTRL[LPOPO]). */
910 #define FSL_FEATURE_SMC_HAS_LPOPO (0)
911 /* @brief Has POR power option (register bit STOPCTRL[PORPO] or VLLSCTRL[PORPO]). */
912 #define FSL_FEATURE_SMC_HAS_PORPO (0)
913 /* @brief Has low power wakeup on interrupt (register bit PMCTRL[LPWUI]). */
914 #define FSL_FEATURE_SMC_HAS_LPWUI (0)
915 /* @brief Has LLS or VLLS mode control (register bit STOPCTRL[LLSM]). */
916 #define FSL_FEATURE_SMC_HAS_LLS_SUBMODE (0)
917 /* @brief Has VLLS mode control (register bit VLLSCTRL[VLLSM]). */
918 #define FSL_FEATURE_SMC_USE_VLLSCTRL_REG (0)
919 /* @brief Has VLLS mode control (register bit STOPCTRL[VLLSM]). */
920 #define FSL_FEATURE_SMC_USE_STOPCTRL_VLLSM (0)
921 /* @brief Has RAM partition 2 power option (register bit STOPCTRL[RAM2PO]). */
922 #define FSL_FEATURE_SMC_HAS_RAM2_POWER_OPTION (0)
923 /* @brief Has high speed run mode (register bit PMPROT[AHSRUN]). */
924 #define FSL_FEATURE_SMC_HAS_HIGH_SPEED_RUN_MODE (0)
925 /* @brief Has low leakage stop mode (register bit PMPROT[ALLS]). */
926 #define FSL_FEATURE_SMC_HAS_LOW_LEAKAGE_STOP_MODE (0)
927 /* @brief Has very low leakage stop mode (register bit PMPROT[AVLLS]). */
928 #define FSL_FEATURE_SMC_HAS_VERY_LOW_LEAKAGE_STOP_MODE (0)
929 /* @brief Has stop submode. */
930 #define FSL_FEATURE_SMC_HAS_SUB_STOP_MODE (0)
931 /* @brief Has stop submode 0(state VLLS0 of register bit STOPCTRL[VLLSM]). */
932 #define FSL_FEATURE_SMC_HAS_STOP_SUBMODE0 (0)
933 /* @brief Has stop submode 2(state VLLS2 of register bit STOPCTRL[VLLSM]). */
934 #define FSL_FEATURE_SMC_HAS_STOP_SUBMODE2 (0)
935 /* @brief Has SMC_PARAM. */
936 #define FSL_FEATURE_SMC_HAS_PARAM (1)
937 /* @brief Has SMC_VERID. */
938 #define FSL_FEATURE_SMC_HAS_VERID (1)
939 /* @brief Has stop abort flag (register bit PMCTRL[STOPA]). */
940 #define FSL_FEATURE_SMC_HAS_PMCTRL_STOPA (1)
941 /* @brief Has tamper reset (register bit SRS[TAMPER]). */
942 #define FSL_FEATURE_SMC_HAS_SRS_TAMPER (0)
943 /* @brief Has security violation reset (register bit SRS[SECVIO]). */
944 #define FSL_FEATURE_SMC_HAS_SRS_SECVIO (0)
945 /* @brief Width of SMC registers. */
946 #define FSL_FEATURE_SMC_REG_WIDTH (32)
947 
948 /* SysTick module features */
949 
950 /* @brief Systick has external reference clock. */
951 #define FSL_FEATURE_SYSTICK_HAS_EXT_REF (0)
952 /* @brief Systick external reference clock is core clock divided by this value. */
953 #define FSL_FEATURE_SYSTICK_EXT_REF_CORE_DIV (0)
954 
955 /* TSI module features */
956 
957 /* @brief TSI module version. */
958 #define FSL_FEATURE_TSI_VERSION (5)
959 /* @brief Has end-of-scan DMA transfer request enable (register bit GENCS[EOSDMEO]). */
960 #define FSL_FEATURE_TSI_HAS_END_OF_SCAN_DMA_ENABLE (1)
961 /* @brief Has channel used for mutual cap TX configuration (register bit MUL0[M_TX_USED]). */
962 #define FSL_FEATURE_TSI_HAS_M_TX_USED (1)
963 /* @brief Number of TSI channels. */
964 #define FSL_FEATURE_TSI_CHANNEL_COUNT (25)
965 
966 /* WDOG module features */
967 
968 /* @brief Watchdog is available. */
969 #define FSL_FEATURE_WDOG_HAS_WATCHDOG (1)
970 /* @brief WDOG_CNT can be 32-bit written. */
971 #define FSL_FEATURE_WDOG_HAS_32BIT_ACCESS (1)
972 
973 #endif /* _MKE15Z4_FEATURES_H_ */
974 
975