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