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