1 /* 2 ** ################################################################### 3 ** Version: rev. 1.3, 2015-05-25 4 ** Build: b210422 5 ** 6 ** Abstract: 7 ** Chip specific module features. 8 ** 9 ** Copyright 2016 Freescale Semiconductor, Inc. 10 ** Copyright 2016-2021 NXP 11 ** All rights reserved. 12 ** 13 ** SPDX-License-Identifier: BSD-3-Clause 14 ** 15 ** http: www.nxp.com 16 ** mail: support@nxp.com 17 ** 18 ** Revisions: 19 ** - rev. 1.0 (2014-07-22) 20 ** Initial version. 21 ** - rev. 1.1 (2015-01-21) 22 ** Added FSL_FEATURE_SOC_peripheral_COUNT with number of peripheral instances 23 ** - rev. 1.2 (2015-05-19) 24 ** FSL_FEATURE_SOC_CAU_COUNT remamed to FSL_FEATURE_SOC_MMCAU_COUNT. 25 ** Added FSL_FEATURE_SOC_peripheral_COUNT for TRNG and HSADC. 26 ** Added features for PORT. 27 ** - rev. 1.3 (2015-05-25) 28 ** Added FSL_FEATURE_FLASH_PFLASH_START_ADDRESS 29 ** 30 ** ################################################################### 31 */ 32 33 #ifndef _MKM14ZA5_FEATURES_H_ 34 #define _MKM14ZA5_FEATURES_H_ 35 36 /* SOC module features */ 37 38 /* @brief ADC16 availability on the SoC. */ 39 #define FSL_FEATURE_SOC_ADC16_COUNT (1) 40 /* @brief AFE availability on the SoC. */ 41 #define FSL_FEATURE_SOC_AFE_COUNT (1) 42 /* @brief AIPS availability on the SoC. */ 43 #define FSL_FEATURE_SOC_AIPS_COUNT (1) 44 /* @brief CMP availability on the SoC. */ 45 #define FSL_FEATURE_SOC_CMP_COUNT (2) 46 /* @brief CRC availability on the SoC. */ 47 #define FSL_FEATURE_SOC_CRC_COUNT (1) 48 /* @brief DMA availability on the SoC. */ 49 #define FSL_FEATURE_SOC_DMA_COUNT (1) 50 /* @brief DMAMUX availability on the SoC. */ 51 #define FSL_FEATURE_SOC_DMAMUX_COUNT (4) 52 /* @brief EWM availability on the SoC. */ 53 #define FSL_FEATURE_SOC_EWM_COUNT (1) 54 /* @brief FTFA availability on the SoC. */ 55 #define FSL_FEATURE_SOC_FTFA_COUNT (1) 56 /* @brief GPIO availability on the SoC. */ 57 #define FSL_FEATURE_SOC_GPIO_COUNT (9) 58 /* @brief I2C availability on the SoC. */ 59 #define FSL_FEATURE_SOC_I2C_COUNT (2) 60 /* @brief LLWU availability on the SoC. */ 61 #define FSL_FEATURE_SOC_LLWU_COUNT (1) 62 /* @brief LPTMR availability on the SoC. */ 63 #define FSL_FEATURE_SOC_LPTMR_COUNT (1) 64 /* @brief MCG availability on the SoC. */ 65 #define FSL_FEATURE_SOC_MCG_COUNT (1) 66 /* @brief MCM availability on the SoC. */ 67 #define FSL_FEATURE_SOC_MCM_COUNT (1) 68 /* @brief SYSMPU availability on the SoC. */ 69 #define FSL_FEATURE_SOC_SYSMPU_COUNT (1) 70 /* @brief MTB availability on the SoC. */ 71 #define FSL_FEATURE_SOC_MTB_COUNT (1) 72 /* @brief MTBDWT availability on the SoC. */ 73 #define FSL_FEATURE_SOC_MTBDWT_COUNT (1) 74 /* @brief OSC availability on the SoC. */ 75 #define FSL_FEATURE_SOC_OSC_COUNT (1) 76 /* @brief PIT availability on the SoC. */ 77 #define FSL_FEATURE_SOC_PIT_COUNT (2) 78 /* @brief PMC availability on the SoC. */ 79 #define FSL_FEATURE_SOC_PMC_COUNT (1) 80 /* @brief PORT availability on the SoC. */ 81 #define FSL_FEATURE_SOC_PORT_COUNT (9) 82 /* @brief RCM availability on the SoC. */ 83 #define FSL_FEATURE_SOC_RCM_COUNT (1) 84 /* @brief RNG availability on the SoC. */ 85 #define FSL_FEATURE_SOC_RNG_COUNT (1) 86 /* @brief ROM availability on the SoC. */ 87 #define FSL_FEATURE_SOC_ROM_COUNT (1) 88 /* @brief RTC availability on the SoC. */ 89 #define FSL_FEATURE_SOC_RTC_COUNT (1) 90 /* @brief SIM availability on the SoC. */ 91 #define FSL_FEATURE_SOC_SIM_COUNT (1) 92 /* @brief SMC availability on the SoC. */ 93 #define FSL_FEATURE_SOC_SMC_COUNT (1) 94 /* @brief SPI availability on the SoC. */ 95 #define FSL_FEATURE_SOC_SPI_COUNT (2) 96 /* @brief TMR availability on the SoC. */ 97 #define FSL_FEATURE_SOC_TMR_COUNT (4) 98 /* @brief UART availability on the SoC. */ 99 #define FSL_FEATURE_SOC_UART_COUNT (4) 100 /* @brief VREF availability on the SoC. */ 101 #define FSL_FEATURE_SOC_VREF_COUNT (1) 102 /* @brief WDOG availability on the SoC. */ 103 #define FSL_FEATURE_SOC_WDOG_COUNT (1) 104 /* @brief XBAR availability on the SoC. */ 105 #define FSL_FEATURE_SOC_XBAR_COUNT (1) 106 107 /* ADC16 module features */ 108 109 /* @brief Has Programmable Gain Amplifier (PGA) in ADC (register PGA). */ 110 #define FSL_FEATURE_ADC16_HAS_PGA (0) 111 /* @brief Has PGA chopping control in ADC (bit PGA[PGACHPb] or PGA[PGACHP]). */ 112 #define FSL_FEATURE_ADC16_HAS_PGA_CHOPPING (0) 113 /* @brief Has PGA offset measurement mode in ADC (bit PGA[PGAOFSM]). */ 114 #define FSL_FEATURE_ADC16_HAS_PGA_OFFSET_MEASUREMENT (0) 115 /* @brief Has DMA support (bit SC2[DMAEN] or SC4[DMAEN]). */ 116 #define FSL_FEATURE_ADC16_HAS_DMA (1) 117 /* @brief Has differential mode (bitfield SC1x[DIFF]). */ 118 #define FSL_FEATURE_ADC16_HAS_DIFF_MODE (0) 119 /* @brief Has FIFO (bit SC4[AFDEP]). */ 120 #define FSL_FEATURE_ADC16_HAS_FIFO (0) 121 /* @brief FIFO size if available (bitfield SC4[AFDEP]). */ 122 #define FSL_FEATURE_ADC16_FIFO_SIZE (0) 123 /* @brief Has channel set a/b multiplexor (bitfield CFG2[MUXSEL]). */ 124 #define FSL_FEATURE_ADC16_HAS_MUX_SELECT (0) 125 /* @brief Has HW trigger masking (bitfield SC5[HTRGMASKE]. */ 126 #define FSL_FEATURE_ADC16_HAS_HW_TRIGGER_MASK (0) 127 /* @brief Has calibration feature (bit SC3[CAL] and registers CLPx, CLMx). */ 128 #define FSL_FEATURE_ADC16_HAS_CALIBRATION (1) 129 /* @brief Has HW averaging (bit SC3[AVGE]). */ 130 #define FSL_FEATURE_ADC16_HAS_HW_AVERAGE (1) 131 /* @brief Has offset correction (register OFS). */ 132 #define FSL_FEATURE_ADC16_HAS_OFFSET_CORRECTION (1) 133 /* @brief Maximum ADC resolution. */ 134 #define FSL_FEATURE_ADC16_MAX_RESOLUTION (16) 135 /* @brief Number of SC1x and Rx register pairs (conversion control and result registers). */ 136 #define FSL_FEATURE_ADC16_CONVERSION_CONTROL_COUNT (4) 137 138 /* AFE module features */ 139 140 /* @brief AFE channel counter. */ 141 #define FSL_FEATURE_AFE_CHANNEL_NUMBER (4) 142 /* @brief AFE channel counter with PGA feature. */ 143 #define FSL_FEATURE_AFE_CHANNEL_NUMBER_WITH_PGA (2) 144 /* @brief AFE has four channels. */ 145 #define FSL_FEATURE_AFE_HAS_FOUR_CHANNELS (1) 146 147 /* CMP module features */ 148 149 /* @brief Has Trigger mode in CMP (register bit field CR1[TRIGM]). */ 150 #define FSL_FEATURE_CMP_HAS_TRIGGER_MODE (1) 151 /* @brief Has Window mode in CMP (register bit field CR1[WE]). */ 152 #define FSL_FEATURE_CMP_HAS_WINDOW_MODE (1) 153 /* @brief Has External sample supported in CMP (register bit field CR1[SE]). */ 154 #define FSL_FEATURE_CMP_HAS_EXTERNAL_SAMPLE_SUPPORT (1) 155 /* @brief Has DMA support in CMP (register bit field SCR[DMAEN]). */ 156 #define FSL_FEATURE_CMP_HAS_DMA (1) 157 /* @brief Has Pass Through mode in CMP (register bit field MUXCR[PSTM]). */ 158 #define FSL_FEATURE_CMP_HAS_PASS_THROUGH_MODE (0) 159 /* @brief Has DAC Test function in CMP (register DACTEST). */ 160 #define FSL_FEATURE_CMP_HAS_DAC_TEST (0) 161 162 /* CRC module features */ 163 164 /* @brief Has data register with name CRC */ 165 #define FSL_FEATURE_CRC_HAS_CRC_REG (0) 166 167 /* DMA module features */ 168 169 /* @brief Number of DMA channels. */ 170 #define FSL_FEATURE_DMA_MODULE_CHANNEL (4) 171 /* @brief Total number of DMA channels on all modules. */ 172 #define FSL_FEATURE_DMA_DMAMUX_CHANNELS (16) 173 174 /* DMAMUX module features */ 175 176 /* @brief Number of DMA channels (related to number of register CHCFGn). */ 177 #define FSL_FEATURE_DMAMUX_MODULE_CHANNEL (1) 178 /* @brief Total number of DMA channels on all modules. */ 179 #define FSL_FEATURE_DMAMUX_DMAMUX_CHANNELS (4) 180 /* @brief Has the periodic trigger capability for the triggered DMA channel 0 (register bit CHCFG0[TRIG]). */ 181 #define FSL_FEATURE_DMAMUX_HAS_TRIG (1) 182 /* @brief Register CHCFGn width. */ 183 #define FSL_FEATURE_DMAMUX_CHCFG_REGISTER_WIDTH (8) 184 185 /* EWM module features */ 186 187 /* @brief Has clock select (register CLKCTRL). */ 188 #define FSL_FEATURE_EWM_HAS_CLOCK_SELECT (0) 189 /* @brief Has clock prescaler (register CLKPRESCALER). */ 190 #define FSL_FEATURE_EWM_HAS_PRESCALER (0) 191 192 /* FLASH module features */ 193 194 #if defined(CPU_MKM14Z128ACHH5) 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 (1024) 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 (4) 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 (4) 305 /* @brief P-Flash Rrogram/Verify section command address alignment. */ 306 #define FSL_FEATURE_FLASH_PFLASH_SECTION_CMD_ADDRESS_ALIGMENT (4) 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_MKM14Z64ACHH5) 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 (65536) 420 /* @brief P-Flash sector size. */ 421 #define FSL_FEATURE_FLASH_PFLASH_BLOCK_SECTOR_SIZE (1024) 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 (4) 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 (4) 498 /* @brief P-Flash Rrogram/Verify section command address alignment. */ 499 #define FSL_FEATURE_FLASH_PFLASH_SECTION_CMD_ADDRESS_ALIGMENT (4) 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_MKM14Z128ACHH5) */ 581 582 /* GPIO module features */ 583 584 /* @brief Has GPIO attribute checker register (GACR). */ 585 #define FSL_FEATURE_GPIO_HAS_ATTRIBUTE_CHECKER (1) 586 /* @brief GPIO registers width */ 587 #define FSL_FEATURE_GPIO_REGISTERS_WIDTH (8) 588 /* @brief Has no independent GPIO output control registers(register PSOR, PCOR and PTOR). */ 589 #define FSL_FEATURE_GPIO_HAS_NO_INDEP_OUTPUT_CONTROL (1) 590 591 /* I2C module features */ 592 593 /* @brief Has System Management Bus support (registers SMB, A2, SLTL and SLTH). */ 594 #define FSL_FEATURE_I2C_HAS_SMBUS (1) 595 /* @brief Maximum supported baud rate in kilobit per second. */ 596 #define FSL_FEATURE_I2C_MAX_BAUD_KBPS (400) 597 /* @brief Is affected by errata with ID 6070 (repeat start cannot be generated if the F[MULT] bit field is set to a non-zero value). */ 598 #define FSL_FEATURE_I2C_HAS_ERRATA_6070 (0) 599 /* @brief Has DMA support (register bit C1[DMAEN]). */ 600 #define FSL_FEATURE_I2C_HAS_DMA_SUPPORT (1) 601 /* @brief Has I2C bus start and stop detection (register bits FLT[SSIE], FLT[STARTF] and FLT[STOPF]). */ 602 #define FSL_FEATURE_I2C_HAS_START_STOP_DETECT (1) 603 /* @brief Has I2C bus stop detection (register bits FLT[STOPIE] and FLT[STOPF]). */ 604 #define FSL_FEATURE_I2C_HAS_STOP_DETECT (0) 605 /* @brief Has I2C bus stop hold off (register bit FLT[SHEN]). */ 606 #define FSL_FEATURE_I2C_HAS_STOP_HOLD_OFF (1) 607 /* @brief Maximum width of the glitch filter in number of bus clocks. */ 608 #define FSL_FEATURE_I2C_MAX_GLITCH_FILTER_WIDTH (15) 609 /* @brief Has control of the drive capability of the I2C pins. */ 610 #define FSL_FEATURE_I2C_HAS_HIGH_DRIVE_SELECTION (1) 611 /* @brief Has double buffering support (register S2). */ 612 #define FSL_FEATURE_I2C_HAS_DOUBLE_BUFFERING (0) 613 /* @brief Has double buffer enable. */ 614 #define FSL_FEATURE_I2C_HAS_DOUBLE_BUFFER_ENABLE (0) 615 /* @brief I2C0 and I2C1 has shared interrupt vector. */ 616 #define FSL_FEATURE_I2C_HAS_SHARED_IRQ0_IRQ1 (1) 617 618 /* LLWU module features */ 619 620 /* @brief Maximum number of pins (maximal index plus one) connected to LLWU device. */ 621 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN (16) 622 /* @brief Has pins 8-15 connected to LLWU device. */ 623 #define FSL_FEATURE_LLWU_EXTERNAL_PIN_GROUP2 (1) 624 /* @brief Maximum number of internal modules connected to LLWU device. */ 625 #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE (5) 626 /* @brief Number of digital filters. */ 627 #define FSL_FEATURE_LLWU_HAS_PIN_FILTER (2) 628 /* @brief Has MF register. */ 629 #define FSL_FEATURE_LLWU_HAS_MF (0) 630 /* @brief Has PF register. */ 631 #define FSL_FEATURE_LLWU_HAS_PF (0) 632 /* @brief Has possibility to enable reset in low leakage power mode and enable digital filter for RESET pin (register LLWU_RST). */ 633 #define FSL_FEATURE_LLWU_HAS_RESET_ENABLE (0) 634 /* @brief Has no internal module wakeup flag register. */ 635 #define FSL_FEATURE_LLWU_HAS_NO_INTERNAL_MODULE_WAKEUP_FLAG_REG (0) 636 /* @brief Has external pin 0 connected to LLWU device. */ 637 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN0 (0) 638 /* @brief Index of port of external pin. */ 639 #define FSL_FEATURE_LLWU_PIN0_GPIO_IDX (0) 640 /* @brief Number of external pin port on specified port. */ 641 #define FSL_FEATURE_LLWU_PIN0_GPIO_PIN (0) 642 /* @brief Has external pin 1 connected to LLWU device. */ 643 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN1 (1) 644 /* @brief Index of port of external pin. */ 645 #define FSL_FEATURE_LLWU_PIN1_GPIO_IDX (GPIOG_IDX) 646 /* @brief Number of external pin port on specified port. */ 647 #define FSL_FEATURE_LLWU_PIN1_GPIO_PIN (2) 648 /* @brief Has external pin 2 connected to LLWU device. */ 649 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN2 (1) 650 /* @brief Index of port of external pin. */ 651 #define FSL_FEATURE_LLWU_PIN2_GPIO_IDX (GPIOG_IDX) 652 /* @brief Number of external pin port on specified port. */ 653 #define FSL_FEATURE_LLWU_PIN2_GPIO_PIN (1) 654 /* @brief Has external pin 3 connected to LLWU device. */ 655 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN3 (0) 656 /* @brief Index of port of external pin. */ 657 #define FSL_FEATURE_LLWU_PIN3_GPIO_IDX (0) 658 /* @brief Number of external pin port on specified port. */ 659 #define FSL_FEATURE_LLWU_PIN3_GPIO_PIN (0) 660 /* @brief Has external pin 4 connected to LLWU device. */ 661 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN4 (0) 662 /* @brief Index of port of external pin. */ 663 #define FSL_FEATURE_LLWU_PIN4_GPIO_IDX (0) 664 /* @brief Number of external pin port on specified port. */ 665 #define FSL_FEATURE_LLWU_PIN4_GPIO_PIN (0) 666 /* @brief Has external pin 5 connected to LLWU device. */ 667 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN5 (1) 668 /* @brief Index of port of external pin. */ 669 #define FSL_FEATURE_LLWU_PIN5_GPIO_IDX (GPIOE_IDX) 670 /* @brief Number of external pin port on specified port. */ 671 #define FSL_FEATURE_LLWU_PIN5_GPIO_PIN (6) 672 /* @brief Has external pin 6 connected to LLWU device. */ 673 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN6 (0) 674 /* @brief Index of port of external pin. */ 675 #define FSL_FEATURE_LLWU_PIN6_GPIO_IDX (0) 676 /* @brief Number of external pin port on specified port. */ 677 #define FSL_FEATURE_LLWU_PIN6_GPIO_PIN (0) 678 /* @brief Has external pin 7 connected to LLWU device. */ 679 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN7 (0) 680 /* @brief Index of port of external pin. */ 681 #define FSL_FEATURE_LLWU_PIN7_GPIO_IDX (0) 682 /* @brief Number of external pin port on specified port. */ 683 #define FSL_FEATURE_LLWU_PIN7_GPIO_PIN (0) 684 /* @brief Has external pin 8 connected to LLWU device. */ 685 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN8 (0) 686 /* @brief Index of port of external pin. */ 687 #define FSL_FEATURE_LLWU_PIN8_GPIO_IDX (0) 688 /* @brief Number of external pin port on specified port. */ 689 #define FSL_FEATURE_LLWU_PIN8_GPIO_PIN (0) 690 /* @brief Has external pin 9 connected to LLWU device. */ 691 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN9 (0) 692 /* @brief Index of port of external pin. */ 693 #define FSL_FEATURE_LLWU_PIN9_GPIO_IDX (0) 694 /* @brief Number of external pin port on specified port. */ 695 #define FSL_FEATURE_LLWU_PIN9_GPIO_PIN (0) 696 /* @brief Has external pin 10 connected to LLWU device. */ 697 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN10 (0) 698 /* @brief Index of port of external pin. */ 699 #define FSL_FEATURE_LLWU_PIN10_GPIO_IDX (0) 700 /* @brief Number of external pin port on specified port. */ 701 #define FSL_FEATURE_LLWU_PIN10_GPIO_PIN (0) 702 /* @brief Has external pin 11 connected to LLWU device. */ 703 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN11 (0) 704 /* @brief Index of port of external pin. */ 705 #define FSL_FEATURE_LLWU_PIN11_GPIO_IDX (0) 706 /* @brief Number of external pin port on specified port. */ 707 #define FSL_FEATURE_LLWU_PIN11_GPIO_PIN (0) 708 /* @brief Has external pin 12 connected to LLWU device. */ 709 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN12 (0) 710 /* @brief Index of port of external pin. */ 711 #define FSL_FEATURE_LLWU_PIN12_GPIO_IDX (0) 712 /* @brief Number of external pin port on specified port. */ 713 #define FSL_FEATURE_LLWU_PIN12_GPIO_PIN (0) 714 /* @brief Has external pin 13 connected to LLWU device. */ 715 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN13 (0) 716 /* @brief Index of port of external pin. */ 717 #define FSL_FEATURE_LLWU_PIN13_GPIO_IDX (0) 718 /* @brief Number of external pin port on specified port. */ 719 #define FSL_FEATURE_LLWU_PIN13_GPIO_PIN (0) 720 /* @brief Has external pin 14 connected to LLWU device. */ 721 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN14 (1) 722 /* @brief Index of port of external pin. */ 723 #define FSL_FEATURE_LLWU_PIN14_GPIO_IDX (GPIOA_IDX) 724 /* @brief Number of external pin port on specified port. */ 725 #define FSL_FEATURE_LLWU_PIN14_GPIO_PIN (6) 726 /* @brief Has external pin 15 connected to LLWU device. */ 727 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN15 (1) 728 /* @brief Index of port of external pin. */ 729 #define FSL_FEATURE_LLWU_PIN15_GPIO_IDX (GPIOA_IDX) 730 /* @brief Number of external pin port on specified port. */ 731 #define FSL_FEATURE_LLWU_PIN15_GPIO_PIN (4) 732 /* @brief Has external pin 16 connected to LLWU device. */ 733 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN16 (0) 734 /* @brief Index of port of external pin. */ 735 #define FSL_FEATURE_LLWU_PIN16_GPIO_IDX (0) 736 /* @brief Number of external pin port on specified port. */ 737 #define FSL_FEATURE_LLWU_PIN16_GPIO_PIN (0) 738 /* @brief Has external pin 17 connected to LLWU device. */ 739 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN17 (0) 740 /* @brief Index of port of external pin. */ 741 #define FSL_FEATURE_LLWU_PIN17_GPIO_IDX (0) 742 /* @brief Number of external pin port on specified port. */ 743 #define FSL_FEATURE_LLWU_PIN17_GPIO_PIN (0) 744 /* @brief Has external pin 18 connected to LLWU device. */ 745 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN18 (0) 746 /* @brief Index of port of external pin. */ 747 #define FSL_FEATURE_LLWU_PIN18_GPIO_IDX (0) 748 /* @brief Number of external pin port on specified port. */ 749 #define FSL_FEATURE_LLWU_PIN18_GPIO_PIN (0) 750 /* @brief Has external pin 19 connected to LLWU device. */ 751 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN19 (0) 752 /* @brief Index of port of external pin. */ 753 #define FSL_FEATURE_LLWU_PIN19_GPIO_IDX (0) 754 /* @brief Number of external pin port on specified port. */ 755 #define FSL_FEATURE_LLWU_PIN19_GPIO_PIN (0) 756 /* @brief Has external pin 20 connected to LLWU device. */ 757 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN20 (0) 758 /* @brief Index of port of external pin. */ 759 #define FSL_FEATURE_LLWU_PIN20_GPIO_IDX (0) 760 /* @brief Number of external pin port on specified port. */ 761 #define FSL_FEATURE_LLWU_PIN20_GPIO_PIN (0) 762 /* @brief Has external pin 21 connected to LLWU device. */ 763 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN21 (0) 764 /* @brief Index of port of external pin. */ 765 #define FSL_FEATURE_LLWU_PIN21_GPIO_IDX (0) 766 /* @brief Number of external pin port on specified port. */ 767 #define FSL_FEATURE_LLWU_PIN21_GPIO_PIN (0) 768 /* @brief Has external pin 22 connected to LLWU device. */ 769 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN22 (0) 770 /* @brief Index of port of external pin. */ 771 #define FSL_FEATURE_LLWU_PIN22_GPIO_IDX (0) 772 /* @brief Number of external pin port on specified port. */ 773 #define FSL_FEATURE_LLWU_PIN22_GPIO_PIN (0) 774 /* @brief Has external pin 23 connected to LLWU device. */ 775 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN23 (0) 776 /* @brief Index of port of external pin. */ 777 #define FSL_FEATURE_LLWU_PIN23_GPIO_IDX (0) 778 /* @brief Number of external pin port on specified port. */ 779 #define FSL_FEATURE_LLWU_PIN23_GPIO_PIN (0) 780 /* @brief Has external pin 24 connected to LLWU device. */ 781 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN24 (0) 782 /* @brief Index of port of external pin. */ 783 #define FSL_FEATURE_LLWU_PIN24_GPIO_IDX (0) 784 /* @brief Number of external pin port on specified port. */ 785 #define FSL_FEATURE_LLWU_PIN24_GPIO_PIN (0) 786 /* @brief Has external pin 25 connected to LLWU device. */ 787 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN25 (0) 788 /* @brief Index of port of external pin. */ 789 #define FSL_FEATURE_LLWU_PIN25_GPIO_IDX (0) 790 /* @brief Number of external pin port on specified port. */ 791 #define FSL_FEATURE_LLWU_PIN25_GPIO_PIN (0) 792 /* @brief Has external pin 26 connected to LLWU device. */ 793 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN26 (0) 794 /* @brief Index of port of external pin. */ 795 #define FSL_FEATURE_LLWU_PIN26_GPIO_IDX (0) 796 /* @brief Number of external pin port on specified port. */ 797 #define FSL_FEATURE_LLWU_PIN26_GPIO_PIN (0) 798 /* @brief Has external pin 27 connected to LLWU device. */ 799 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN27 (0) 800 /* @brief Index of port of external pin. */ 801 #define FSL_FEATURE_LLWU_PIN27_GPIO_IDX (0) 802 /* @brief Number of external pin port on specified port. */ 803 #define FSL_FEATURE_LLWU_PIN27_GPIO_PIN (0) 804 /* @brief Has external pin 28 connected to LLWU device. */ 805 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN28 (0) 806 /* @brief Index of port of external pin. */ 807 #define FSL_FEATURE_LLWU_PIN28_GPIO_IDX (0) 808 /* @brief Number of external pin port on specified port. */ 809 #define FSL_FEATURE_LLWU_PIN28_GPIO_PIN (0) 810 /* @brief Has external pin 29 connected to LLWU device. */ 811 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN29 (0) 812 /* @brief Index of port of external pin. */ 813 #define FSL_FEATURE_LLWU_PIN29_GPIO_IDX (0) 814 /* @brief Number of external pin port on specified port. */ 815 #define FSL_FEATURE_LLWU_PIN29_GPIO_PIN (0) 816 /* @brief Has external pin 30 connected to LLWU device. */ 817 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN30 (0) 818 /* @brief Index of port of external pin. */ 819 #define FSL_FEATURE_LLWU_PIN30_GPIO_IDX (0) 820 /* @brief Number of external pin port on specified port. */ 821 #define FSL_FEATURE_LLWU_PIN30_GPIO_PIN (0) 822 /* @brief Has external pin 31 connected to LLWU device. */ 823 #define FSL_FEATURE_LLWU_HAS_EXTERNAL_PIN31 (0) 824 /* @brief Index of port of external pin. */ 825 #define FSL_FEATURE_LLWU_PIN31_GPIO_IDX (0) 826 /* @brief Number of external pin port on specified port. */ 827 #define FSL_FEATURE_LLWU_PIN31_GPIO_PIN (0) 828 /* @brief Has internal module 0 connected to LLWU device. */ 829 #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE0 (1) 830 /* @brief Has internal module 1 connected to LLWU device. */ 831 #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE1 (1) 832 /* @brief Has internal module 2 connected to LLWU device. */ 833 #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE2 (1) 834 /* @brief Has internal module 3 connected to LLWU device. */ 835 #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE3 (1) 836 /* @brief Has internal module 4 connected to LLWU device. */ 837 #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE4 (1) 838 /* @brief Has internal module 5 connected to LLWU device. */ 839 #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE5 (0) 840 /* @brief Has internal module 6 connected to LLWU device. */ 841 #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE6 (0) 842 /* @brief Has internal module 7 connected to LLWU device. */ 843 #define FSL_FEATURE_LLWU_HAS_INTERNAL_MODULE7 (0) 844 /* @brief Has Version ID Register (LLWU_VERID). */ 845 #define FSL_FEATURE_LLWU_HAS_VERID (0) 846 /* @brief Has Parameter Register (LLWU_PARAM). */ 847 #define FSL_FEATURE_LLWU_HAS_PARAM (0) 848 /* @brief Width of registers of the LLWU. */ 849 #define FSL_FEATURE_LLWU_REG_BITWIDTH (8) 850 /* @brief Has DMA Enable register (LLWU_DE). */ 851 #define FSL_FEATURE_LLWU_HAS_DMA_ENABLE_REG (0) 852 853 /* LPTMR module features */ 854 855 /* @brief Has shared interrupt handler with another LPTMR module. */ 856 #define FSL_FEATURE_LPTMR_HAS_SHARED_IRQ_HANDLER (0) 857 /* @brief Whether LPTMR counter is 32 bits width. */ 858 #define FSL_FEATURE_LPTMR_CNR_WIDTH_IS_32B (0) 859 /* @brief Has timer DMA request enable (register bit CSR[TDRE]). */ 860 #define FSL_FEATURE_LPTMR_HAS_CSR_TDRE (0) 861 862 /* MCG module features */ 863 864 /* @brief PRDIV base value (divider of register bit field [PRDIV] zero value). */ 865 #define FSL_FEATURE_MCG_PLL_PRDIV_BASE (0) 866 /* @brief Maximum PLL external reference divider value (max. value of register bit field C5[PRVDIV]). */ 867 #define FSL_FEATURE_MCG_PLL_PRDIV_MAX (0) 868 /* @brief VCO divider base value (multiply factor of register bit field C6[VDIV] zero value). */ 869 #define FSL_FEATURE_MCG_PLL_VDIV_BASE (0) 870 /* @brief PLL reference clock low range. OSCCLK/PLL_R. */ 871 #define FSL_FEATURE_MCG_PLL_REF_MIN (0) 872 /* @brief PLL reference clock high range. OSCCLK/PLL_R. */ 873 #define FSL_FEATURE_MCG_PLL_REF_MAX (0) 874 /* @brief The PLL clock is divided by 2 before VCO divider. */ 875 #define FSL_FEATURE_MCG_HAS_PLL_INTERNAL_DIV (0) 876 /* @brief FRDIV supports 1280. */ 877 #define FSL_FEATURE_MCG_FRDIV_SUPPORT_1280 (1) 878 /* @brief FRDIV supports 1536. */ 879 #define FSL_FEATURE_MCG_FRDIV_SUPPORT_1536 (1) 880 /* @brief MCGFFCLK divider. */ 881 #define FSL_FEATURE_MCG_FFCLK_DIV (1) 882 /* @brief Is PLL clock divided by 2 before MCG PLL/FLL clock selection in the SIM module. */ 883 #define FSL_FEATURE_MCG_HAS_PLL_EXTRA_DIV (0) 884 /* @brief Has 32kHz RTC external reference clock (register bits C8[LOCS1], C8[CME1], C8[LOCRE1] and RTC module are present). */ 885 #define FSL_FEATURE_MCG_HAS_RTC_32K (1) 886 /* @brief Has PLL1 external reference clock (registers C10, C11, C12, S2). */ 887 #define FSL_FEATURE_MCG_HAS_PLL1 (0) 888 /* @brief Has 48MHz internal oscillator. */ 889 #define FSL_FEATURE_MCG_HAS_IRC_48M (0) 890 /* @brief Has OSC1 external oscillator (registers C10, C11, C12, S2). */ 891 #define FSL_FEATURE_MCG_HAS_OSC1 (0) 892 /* @brief Has fast internal reference clock fine trim (register bit C2[FCFTRIM]). */ 893 #define FSL_FEATURE_MCG_HAS_FCFTRIM (0) 894 /* @brief Has PLL loss of lock reset (register bit C8[LOLRE]). */ 895 #define FSL_FEATURE_MCG_HAS_LOLRE (1) 896 /* @brief Has MCG OSC clock selection (register bit C7[OSCSEL]). */ 897 #define FSL_FEATURE_MCG_USE_OSCSEL (1) 898 /* @brief Has PLL external reference selection (register bits C5[PLLREFSEL0] and C11[PLLREFSEL1]). */ 899 #define FSL_FEATURE_MCG_USE_PLLREFSEL (0) 900 /* @brief TBD */ 901 #define FSL_FEATURE_MCG_USE_SYSTEM_CLOCK (0) 902 /* @brief Has phase-locked loop (PLL) (register C5 and bits C6[VDIV], C6[PLLS], C6[LOLIE0], S[PLLST], S[LOCK0], S[LOLS0]). */ 903 #define FSL_FEATURE_MCG_HAS_PLL (1) 904 /* @brief Has phase-locked loop (PLL) PRDIV (register C5[PRDIV]. */ 905 #define FSL_FEATURE_MCG_HAS_PLL_PRDIV (0) 906 /* @brief Has phase-locked loop (PLL) VDIV (register C6[VDIV]. */ 907 #define FSL_FEATURE_MCG_HAS_PLL_VDIV (0) 908 /* @brief PLL/OSC related register bit fields have PLL/OSC index in their name. */ 909 #define FSL_FEATURE_MCG_HAS_PLL_OSC_INDEX (1) 910 /* @brief Has frequency-locked loop (FLL) (register ATCVH, ATCVL and bits C1[IREFS], C1[FRDIV]). */ 911 #define FSL_FEATURE_MCG_HAS_FLL (1) 912 /* @brief Has PLL external to MCG (C9[PLL_CME], C9[PLL_LOCRE], C9[EXT_PLL_LOCS]). */ 913 #define FSL_FEATURE_MCG_HAS_EXTERNAL_PLL (0) 914 /* @brief Has crystal oscillator or external reference clock low power controls (register bits C2[HGO], C2[RANGE]). */ 915 #define FSL_FEATURE_MCG_HAS_EXT_REF_LOW_POWER_CONTROL (1) 916 /* @brief Has PLL/FLL selection as MCG output (register bit C6[PLLS]). */ 917 #define FSL_FEATURE_MCG_HAS_PLL_FLL_SELECTION (1) 918 /* @brief Has PLL output selection (PLL0/PLL1, PLL/external PLL) (register bit C11[PLLCS]). */ 919 #define FSL_FEATURE_MCG_HAS_PLL_OUTPUT_SELECTION (0) 920 /* @brief Has automatic trim machine (registers ATCVH, ATCVL and bits SC[ATMF], SC[ATMS], SC[ATME]). */ 921 #define FSL_FEATURE_MCG_HAS_AUTO_TRIM_MACHINE (1) 922 /* @brief Has external clock monitor (register bit C6[CME]). */ 923 #define FSL_FEATURE_MCG_HAS_EXTERNAL_CLOCK_MONITOR (1) 924 /* @brief Has low frequency internal reference clock (IRC) (registers LTRIMRNG, LFRIM, LSTRIM and bit MC[LIRC_DIV2]). */ 925 #define FSL_FEATURE_MCG_HAS_LOW_FREQ_IRC (0) 926 /* @brief Has high frequency internal reference clock (IRC) (registers HCTRIM, HTTRIM, HFTRIM and bit MC[HIRCEN]). */ 927 #define FSL_FEATURE_MCG_HAS_HIGH_FREQ_IRC (0) 928 /* @brief Has PEI mode or PBI mode. */ 929 #define FSL_FEATURE_MCG_HAS_PLL_INTERNAL_MODE (1) 930 /* @brief Reset clock mode is BLPI. */ 931 #define FSL_FEATURE_MCG_RESET_IS_BLPI (1) 932 933 /* OSC module features */ 934 935 /* @brief Has OSC1 external oscillator. */ 936 #define FSL_FEATURE_OSC_HAS_OSC1 (0) 937 /* @brief Has OSC0 external oscillator. */ 938 #define FSL_FEATURE_OSC_HAS_OSC0 (0) 939 /* @brief Has OSC external oscillator (without index). */ 940 #define FSL_FEATURE_OSC_HAS_OSC (1) 941 /* @brief Number of OSC external oscillators. */ 942 #define FSL_FEATURE_OSC_OSC_COUNT (1) 943 /* @brief Has external reference clock divider (register bit field DIV[ERPS]). */ 944 #define FSL_FEATURE_OSC_HAS_EXT_REF_CLOCK_DIVIDER (0) 945 946 /* PIT module features */ 947 948 /* @brief Number of channels (related to number of registers LDVALn, CVALn, TCTRLn, TFLGn). */ 949 #define FSL_FEATURE_PIT_TIMER_COUNT (2) 950 /* @brief Has lifetime timer (related to existence of registers LTMR64L and LTMR64H). */ 951 #define FSL_FEATURE_PIT_HAS_LIFETIME_TIMER (0) 952 /* @brief Has chain mode (related to existence of register bit field TCTRLn[CHN]). */ 953 #define FSL_FEATURE_PIT_HAS_CHAIN_MODE (1) 954 /* @brief Has shared interrupt handler (has not individual interrupt handler for each channel). */ 955 #define FSL_FEATURE_PIT_HAS_SHARED_IRQ_HANDLER (1) 956 /* @brief Has timer enable control. */ 957 #define FSL_FEATURE_PIT_HAS_MDIS (1) 958 959 /* PMC module features */ 960 961 /* @brief Has Bandgap Enable In VLPx Operation support. */ 962 #define FSL_FEATURE_PMC_HAS_BGEN (1) 963 /* @brief Has Bandgap Buffer Enable. */ 964 #define FSL_FEATURE_PMC_HAS_BGBE (1) 965 /* @brief Has Bandgap Buffer Drive Select. */ 966 #define FSL_FEATURE_PMC_HAS_BGBDS (1) 967 /* @brief Has Low-Voltage Detect Voltage Select support. */ 968 #define FSL_FEATURE_PMC_HAS_LVDV (1) 969 /* @brief Has Low-Voltage Warning Voltage Select support. */ 970 #define FSL_FEATURE_PMC_HAS_LVWV (1) 971 /* @brief Has LPO. */ 972 #define FSL_FEATURE_PMC_HAS_LPO (0) 973 /* @brief Has VLPx option PMC_REGSC[VLPO]. */ 974 #define FSL_FEATURE_PMC_HAS_VLPO (0) 975 /* @brief Has acknowledge isolation support. */ 976 #define FSL_FEATURE_PMC_HAS_ACKISO (1) 977 /* @brief Has Regulator In Full Performance Mode Status Bit PMC_REGSC[REGFPM]. */ 978 #define FSL_FEATURE_PMC_HAS_REGFPM (0) 979 /* @brief Has Regulator In Run Regulation Status Bit PMC_REGSC[REGONS]. */ 980 #define FSL_FEATURE_PMC_HAS_REGONS (1) 981 /* @brief Has PMC_HVDSC1. */ 982 #define FSL_FEATURE_PMC_HAS_HVDSC1 (0) 983 /* @brief Has PMC_PARAM. */ 984 #define FSL_FEATURE_PMC_HAS_PARAM (0) 985 /* @brief Has PMC_VERID. */ 986 #define FSL_FEATURE_PMC_HAS_VERID (0) 987 988 /* PORT module features */ 989 990 /* @brief Has control lock (register bit PCR[LK]). */ 991 #define FSL_FEATURE_PORT_HAS_PIN_CONTROL_LOCK (1) 992 /* @brief Has open drain control (register bit PCR[ODE]). */ 993 #define FSL_FEATURE_PORT_HAS_OPEN_DRAIN (0) 994 /* @brief Has digital filter (registers DFER, DFCR and DFWR). */ 995 #define FSL_FEATURE_PORT_HAS_DIGITAL_FILTER (1) 996 /* @brief Has DMA request (register bit field PCR[IRQC] values). */ 997 #define FSL_FEATURE_PORT_HAS_DMA_REQUEST (1) 998 /* @brief Has pull resistor selection available. */ 999 #define FSL_FEATURE_PORT_HAS_PULL_SELECTION (1) 1000 /* @brief Has pull resistor enable (register bit PCR[PE]). */ 1001 #define FSL_FEATURE_PORT_HAS_PULL_ENABLE (1) 1002 /* @brief Has slew rate control (register bit PCR[SRE]). */ 1003 #define FSL_FEATURE_PORT_HAS_SLEW_RATE (1) 1004 /* @brief Has passive filter (register bit field PCR[PFE]). */ 1005 #define FSL_FEATURE_PORT_HAS_PASSIVE_FILTER (0) 1006 /* @brief Has drive strength control (register bit PCR[DSE]). */ 1007 #define FSL_FEATURE_PORT_HAS_DRIVE_STRENGTH (0) 1008 /* @brief Has separate drive strength register (HDRVE). */ 1009 #define FSL_FEATURE_PORT_HAS_DRIVE_STRENGTH_REGISTER (0) 1010 /* @brief Has glitch filter (register IOFLT). */ 1011 #define FSL_FEATURE_PORT_HAS_GLITCH_FILTER (0) 1012 /* @brief Defines width of PCR[MUX] field. */ 1013 #define FSL_FEATURE_PORT_PCR_MUX_WIDTH (3) 1014 /* @brief Has dedicated interrupt vector. */ 1015 #define FSL_FEATURE_PORT_HAS_INTERRUPT_VECTOR (1) 1016 /* @brief Has multiple pin IRQ configuration (register GICLR and GICHR). */ 1017 #define FSL_FEATURE_PORT_HAS_MULTIPLE_IRQ_CONFIG (0) 1018 /* @brief Defines whether PCR[IRQC] bit-field has flag states. */ 1019 #define FSL_FEATURE_PORT_HAS_IRQC_FLAG (0) 1020 /* @brief Defines whether PCR[IRQC] bit-field has trigger states. */ 1021 #define FSL_FEATURE_PORT_HAS_IRQC_TRIGGER (0) 1022 1023 /* RCM module features */ 1024 1025 /* @brief Has Loss-of-Lock Reset support. */ 1026 #define FSL_FEATURE_RCM_HAS_LOL (1) 1027 /* @brief Has Loss-of-Clock Reset support. */ 1028 #define FSL_FEATURE_RCM_HAS_LOC (1) 1029 /* @brief Has JTAG generated Reset support. */ 1030 #define FSL_FEATURE_RCM_HAS_JTAG (0) 1031 /* @brief Has EzPort generated Reset support. */ 1032 #define FSL_FEATURE_RCM_HAS_EZPORT (0) 1033 /* @brief Has bit-field indicating EZP_MS_B pin state during last reset. */ 1034 #define FSL_FEATURE_RCM_HAS_EZPMS (0) 1035 /* @brief Has boot ROM configuration, MR[BOOTROM], FM[FORCEROM] */ 1036 #define FSL_FEATURE_RCM_HAS_BOOTROM (0) 1037 /* @brief Has sticky system reset status register RCM_SSRS0 and RCM_SSRS1. */ 1038 #define FSL_FEATURE_RCM_HAS_SSRS (0) 1039 /* @brief Has Version ID Register (RCM_VERID). */ 1040 #define FSL_FEATURE_RCM_HAS_VERID (0) 1041 /* @brief Has Parameter Register (RCM_PARAM). */ 1042 #define FSL_FEATURE_RCM_HAS_PARAM (0) 1043 /* @brief Has Reset Interrupt Enable Register RCM_SRIE. */ 1044 #define FSL_FEATURE_RCM_HAS_SRIE (0) 1045 /* @brief Width of registers of the RCM. */ 1046 #define FSL_FEATURE_RCM_REG_WIDTH (8) 1047 /* @brief Has Core 1 generated Reset support RCM_SRS[CORE1] */ 1048 #define FSL_FEATURE_RCM_HAS_CORE1 (0) 1049 /* @brief Has MDM-AP system reset support RCM_SRS1[MDM_AP] */ 1050 #define FSL_FEATURE_RCM_HAS_MDM_AP (1) 1051 /* @brief Has wakeup reset feature. Register bit SRS[WAKEUP]. */ 1052 #define FSL_FEATURE_RCM_HAS_WAKEUP (1) 1053 1054 /* RTC module features */ 1055 1056 /* @brief Has Tamper Direction Register support. */ 1057 #define FSL_FEATURE_RTC_HAS_TAMPER_DIRECTION (0) 1058 /* @brief Has Tamper Queue Status and Control Register support. */ 1059 #define FSL_FEATURE_RTC_HAS_TAMPER_QUEUE (0) 1060 /* @brief Whether RTC is IRTC. */ 1061 #define FSL_FEATURE_RTC_IS_IRTC (1) 1062 1063 /* SIM module features */ 1064 1065 /* @brief Has USB FS divider. */ 1066 #define FSL_FEATURE_SIM_USBFS_USE_SPECIAL_DIVIDER (0) 1067 /* @brief Is PLL clock divided by 2 before MCG PLL/FLL clock selection. */ 1068 #define FSL_FEATURE_SIM_PLLCLK_USE_SPECIAL_DIVIDER (0) 1069 /* @brief Has RAM size specification (register bit field SOPT1[RAMSIZE]). */ 1070 #define FSL_FEATURE_SIM_OPT_HAS_RAMSIZE (0) 1071 /* @brief Has SRAM size specification (register bit field SOPT1[SRAMSIZE]). */ 1072 #define FSL_FEATURE_SIM_OPT_HAS_SRAMSIZE (1) 1073 /* @brief Has 32k oscillator clock output (register bit SOPT1[OSC32KOUT]). */ 1074 #define FSL_FEATURE_SIM_OPT_HAS_OSC32K_OUT (0) 1075 /* @brief Has 32k oscillator clock selection (register bit field SOPT1[OSC32KSEL]). */ 1076 #define FSL_FEATURE_SIM_OPT_HAS_OSC32K_SELECTION (1) 1077 /* @brief 32k oscillator clock selection width (width of register bit field SOPT1[OSC32KSEL]). */ 1078 #define FSL_FEATURE_SIM_OPT_OSC32K_SELECTION_WIDTH (2) 1079 /* @brief Has RTC clock output selection (register bit SOPT2[RTCCLKOUTSEL]). */ 1080 #define FSL_FEATURE_SIM_OPT_HAS_RTC_CLOCK_OUT_SELECTION (0) 1081 /* @brief Has USB voltage regulator (register bits SOPT1[USBVSTBY], SOPT1[USBSSTBY], SOPT1[USBREGEN], SOPT1CFG[URWE], SOPT1CFG[UVSWE], SOPT1CFG[USSWE]). */ 1082 #define FSL_FEATURE_SIM_OPT_HAS_USB_VOLTAGE_REGULATOR (0) 1083 /* @brief USB has integrated PHY (register bits USBPHYCTL[USBVREGSEL], USBPHYCTL[USBVREGPD], USBPHYCTL[USB3VOUTTRG], USBPHYCTL[USBDISILIM], SOPT2[USBSLSRC], SOPT2[USBREGEN]). */ 1084 #define FSL_FEATURE_SIM_OPT_HAS_USB_PHY (0) 1085 /* @brief Has PTD7 pad drive strength control (register bit SOPT2[PTD7PAD]). */ 1086 #define FSL_FEATURE_SIM_OPT_HAS_PTD7PAD (0) 1087 /* @brief Has FlexBus security level selection (register bit SOPT2[FBSL]). */ 1088 #define FSL_FEATURE_SIM_OPT_HAS_FBSL (0) 1089 /* @brief Has number of FlexBus hold cycle before FlexBus can release bus (register bit SOPT6[PCR]). */ 1090 #define FSL_FEATURE_SIM_OPT_HAS_PCR (0) 1091 /* @brief Has number of NFC hold cycle in case of FlexBus request (register bit SOPT6[MCC]). */ 1092 #define FSL_FEATURE_SIM_OPT_HAS_MCC (0) 1093 /* @brief Has UART open drain enable (register bits UARTnODE, where n is a number, in register SOPT5). */ 1094 #define FSL_FEATURE_SIM_OPT_HAS_ODE (0) 1095 /* @brief Number of LPUART modules (number of register bits LPUARTn, where n is a number, in register SCGC5). */ 1096 #define FSL_FEATURE_SIM_OPT_LPUART_COUNT (0) 1097 /* @brief Number of UART modules (number of register bits UARTn, where n is a number, in register SCGC4). */ 1098 #define FSL_FEATURE_SIM_OPT_UART_COUNT (4) 1099 /* @brief Has UART0 open drain enable (register bit SOPT5[UART0ODE]). */ 1100 #define FSL_FEATURE_SIM_OPT_HAS_UART0_ODE (0) 1101 /* @brief Has UART1 open drain enable (register bit SOPT5[UART1ODE]). */ 1102 #define FSL_FEATURE_SIM_OPT_HAS_UART1_ODE (0) 1103 /* @brief Has UART2 open drain enable (register bit SOPT5[UART2ODE]). */ 1104 #define FSL_FEATURE_SIM_OPT_HAS_UART2_ODE (0) 1105 /* @brief Has LPUART0 open drain enable (register bit SOPT5[LPUART0ODE]). */ 1106 #define FSL_FEATURE_SIM_OPT_HAS_LPUART0_ODE (0) 1107 /* @brief Has LPUART1 open drain enable (register bit SOPT5[LPUART1ODE]). */ 1108 #define FSL_FEATURE_SIM_OPT_HAS_LPUART1_ODE (0) 1109 /* @brief Has CMT/UART pad drive strength control (register bit SOPT2[CMTUARTPAD]). */ 1110 #define FSL_FEATURE_SIM_OPT_HAS_CMTUARTPAD (0) 1111 /* @brief Has LPUART0 transmit data source selection (register bit SOPT5[LPUART0TXSRC]). */ 1112 #define FSL_FEATURE_SIM_OPT_HAS_LPUART0_TX_SRC (0) 1113 /* @brief Has LPUART0 receive data source selection (register bit SOPT5[LPUART0RXSRC]). */ 1114 #define FSL_FEATURE_SIM_OPT_HAS_LPUART0_RX_SRC (0) 1115 /* @brief Has LPUART1 transmit data source selection (register bit SOPT5[LPUART1TXSRC]). */ 1116 #define FSL_FEATURE_SIM_OPT_HAS_LPUART1_TX_SRC (0) 1117 /* @brief Has LPUART1 receive data source selection (register bit SOPT5[LPUART1RXSRC]). */ 1118 #define FSL_FEATURE_SIM_OPT_HAS_LPUART1_RX_SRC (0) 1119 /* @brief Has UART0 transmit data source selection (register bit SOPT5[UART0TXSRC]). */ 1120 #define FSL_FEATURE_SIM_OPT_HAS_UART0_TX_SRC (0) 1121 /* @brief UART0 transmit data source selection width (width of register bit SOPT5[UART0TXSRC]). */ 1122 #define FSL_FEATURE_SIM_OPT_UART0_TX_SRC_WIDTH (0) 1123 /* @brief Has UART0 receive data source selection (register bit SOPT5[UART0RXSRC]). */ 1124 #define FSL_FEATURE_SIM_OPT_HAS_UART0_RX_SRC (0) 1125 /* @brief UART0 receive data source selection width (width of register bit SOPT5[UART0RXSRC]). */ 1126 #define FSL_FEATURE_SIM_OPT_UART0_RX_SRC_WIDTH (0) 1127 /* @brief Has UART1 transmit data source selection (register bit SOPT5[UART1TXSRC]). */ 1128 #define FSL_FEATURE_SIM_OPT_HAS_UART1_TX_SRC (0) 1129 /* @brief Has UART1 receive data source selection (register bit SOPT5[UART1RXSRC]). */ 1130 #define FSL_FEATURE_SIM_OPT_HAS_UART1_RX_SRC (0) 1131 /* @brief UART1 receive data source selection width (width of register bit SOPT5[UART1RXSRC]). */ 1132 #define FSL_FEATURE_SIM_OPT_UART1_RX_SRC_WIDTH (0) 1133 /* @brief Has FTM module(s) configuration. */ 1134 #define FSL_FEATURE_SIM_OPT_HAS_FTM (0) 1135 /* @brief Number of FTM modules. */ 1136 #define FSL_FEATURE_SIM_OPT_FTM_COUNT (0) 1137 /* @brief Number of FTM triggers with selectable source. */ 1138 #define FSL_FEATURE_SIM_OPT_FTM_TRIGGER_COUNT (0) 1139 /* @brief Has FTM0 triggers source selection (register bits SOPT4[FTM0TRGnSRC], where n is a number). */ 1140 #define FSL_FEATURE_SIM_OPT_HAS_FTM0_TRIGGER (0) 1141 /* @brief Has FTM3 triggers source selection (register bits SOPT4[FTM3TRGnSRC], where n is a number). */ 1142 #define FSL_FEATURE_SIM_OPT_HAS_FTM3_TRIGGER (0) 1143 /* @brief Has FTM1 channel 0 input capture source selection (register bit SOPT4[FTM1CH0SRC]). */ 1144 #define FSL_FEATURE_SIM_OPT_HAS_FTM1_CHANNELS (0) 1145 /* @brief Has FTM2 channel 0 input capture source selection (register bit SOPT4[FTM2CH0SRC]). */ 1146 #define FSL_FEATURE_SIM_OPT_HAS_FTM2_CHANNELS (0) 1147 /* @brief Has FTM3 channel 0 input capture source selection (register bit SOPT4[FTM3CH0SRC]). */ 1148 #define FSL_FEATURE_SIM_OPT_HAS_FTM3_CHANNELS (0) 1149 /* @brief Has FTM2 channel 1 input capture source selection (register bit SOPT4[FTM2CH1SRC]). */ 1150 #define FSL_FEATURE_SIM_OPT_HAS_FTM2_CHANNEL1 (0) 1151 /* @brief Number of configurable FTM0 fault detection input (number of register bits SOPT4[FTM0FLTn], where n is a number starting from zero). */ 1152 #define FSL_FEATURE_SIM_OPT_FTM0_FAULT_COUNT (0) 1153 /* @brief Number of configurable FTM1 fault detection input (number of register bits SOPT4[FTM1FLTn], where n is a number starting from zero). */ 1154 #define FSL_FEATURE_SIM_OPT_FTM1_FAULT_COUNT (0) 1155 /* @brief Number of configurable FTM2 fault detection input (number of register bits SOPT4[FTM2FLTn], where n is a number starting from zero). */ 1156 #define FSL_FEATURE_SIM_OPT_FTM2_FAULT_COUNT (0) 1157 /* @brief Number of configurable FTM3 fault detection input (number of register bits SOPT4[FTM3FLTn], where n is a number starting from zero). */ 1158 #define FSL_FEATURE_SIM_OPT_FTM3_FAULT_COUNT (0) 1159 /* @brief Has FTM hardware trigger 0 software synchronization (register bit SOPT8[FTMnSYNCBIT], where n is a module instance index). */ 1160 #define FSL_FEATURE_SIM_OPT_HAS_FTM_TRIGGER_SYNC (0) 1161 /* @brief Has FTM channels output source selection (register bit SOPT8[FTMxOCHnSRC], where x is a module instance index and n is a channel index). */ 1162 #define FSL_FEATURE_SIM_OPT_HAS_FTM_CHANNELS_OUTPUT_SRC (0) 1163 /* @brief Has TPM module(s) configuration. */ 1164 #define FSL_FEATURE_SIM_OPT_HAS_TPM (0) 1165 /* @brief The highest TPM module index. */ 1166 #define FSL_FEATURE_SIM_OPT_MAX_TPM_INDEX (0) 1167 /* @brief Has TPM module with index 0. */ 1168 #define FSL_FEATURE_SIM_OPT_HAS_TPM0 (0) 1169 /* @brief Has TPM0 clock selection (register bit field SOPT4[TPM0CLKSEL]). */ 1170 #define FSL_FEATURE_SIM_OPT_HAS_TPM0_CLK_SEL (0) 1171 /* @brief Is TPM channels configuration in the SOPT4 (not SOPT9) register (register bits TPMnCH0SRC, TPMnCLKSEL, where n is a module instance index). */ 1172 #define FSL_FEATURE_SIM_OPT_HAS_TPM_CHANNELS_CONFIG_IN_SOPT4_REG (0) 1173 /* @brief Has TPM1 channel 0 input capture source selection (register bit field SOPT4[TPM1CH0SRC] or SOPT9[TPM1CH0SRC]). */ 1174 #define FSL_FEATURE_SIM_OPT_HAS_TPM1_CH0_SRC_SELECTION (0) 1175 /* @brief Has TPM1 clock selection (register bit field SOPT4[TPM1CLKSEL]). */ 1176 #define FSL_FEATURE_SIM_OPT_HAS_TPM1_CLK_SEL (0) 1177 /* @brief TPM1 channel 0 input capture source selection width (width of register bit field SOPT4[TPM1CH0SRC] or SOPT9[TPM1CH0SRC]). */ 1178 #define FSL_FEATURE_SIM_OPT_TPM1_CH0_SRC_SELECTION_WIDTH (0) 1179 /* @brief Has TPM2 channel 0 input capture source selection (register bit field SOPT4[TPM2CH0SRC]). */ 1180 #define FSL_FEATURE_SIM_OPT_HAS_TPM2_CH0_SRC_SELECTION (0) 1181 /* @brief Has TPM2 clock selection (register bit field SOPT4[TPM2CLKSEL]). */ 1182 #define FSL_FEATURE_SIM_OPT_HAS_TPM2_CLK_SEL (0) 1183 /* @brief Has PLL/FLL clock selection (register bit field SOPT2[PLLFLLSEL]). */ 1184 #define FSL_FEATURE_SIM_OPT_HAS_PLL_FLL_SELECTION (0) 1185 /* @brief PLL/FLL clock selection width (width of register bit field SOPT2[PLLFLLSEL]). */ 1186 #define FSL_FEATURE_SIM_OPT_PLL_FLL_SELECTION_WIDTH (0) 1187 /* @brief Has NFC clock source selection (register bit SOPT2[NFCSRC]). */ 1188 #define FSL_FEATURE_SIM_OPT_HAS_NFCSRC (0) 1189 /* @brief Has eSDHC clock source selection (register bit SOPT2[ESDHCSRC]). */ 1190 #define FSL_FEATURE_SIM_OPT_HAS_ESDHCSRC (0) 1191 /* @brief Has SDHC clock source selection (register bit SOPT2[SDHCSRC]). */ 1192 #define FSL_FEATURE_SIM_OPT_HAS_SDHCSRC (0) 1193 /* @brief Has LCDC clock source selection (register bits SOPT2[LCDCSRC], SOPT2[LCDC_CLKSEL]). */ 1194 #define FSL_FEATURE_SIM_OPT_HAS_LCDCSRC (0) 1195 /* @brief Has ENET timestamp clock source selection (register bit SOPT2[TIMESRC]). */ 1196 #define FSL_FEATURE_SIM_OPT_HAS_TIMESRC (0) 1197 /* @brief Has ENET RMII clock source selection (register bit SOPT2[RMIISRC]). */ 1198 #define FSL_FEATURE_SIM_OPT_HAS_RMIISRC (0) 1199 /* @brief Has USB clock source selection (register bit SOPT2[USBSRC]). */ 1200 #define FSL_FEATURE_SIM_OPT_HAS_USBSRC (0) 1201 /* @brief Has USB FS clock source selection (register bit SOPT2[USBFSRC]). */ 1202 #define FSL_FEATURE_SIM_OPT_HAS_USBFSRC (0) 1203 /* @brief Has USB HS clock source selection (register bit SOPT2[USBHSRC]). */ 1204 #define FSL_FEATURE_SIM_OPT_HAS_USBHSRC (0) 1205 /* @brief Has LPUART clock source selection (register bit SOPT2[LPUARTSRC]). */ 1206 #define FSL_FEATURE_SIM_OPT_HAS_LPUARTSRC (0) 1207 /* @brief Has LPUART0 clock source selection (register bit SOPT2[LPUART0SRC]). */ 1208 #define FSL_FEATURE_SIM_OPT_HAS_LPUART0SRC (0) 1209 /* @brief Has LPUART1 clock source selection (register bit SOPT2[LPUART1SRC]). */ 1210 #define FSL_FEATURE_SIM_OPT_HAS_LPUART1SRC (0) 1211 /* @brief Has FLEXIOSRC clock source selection (register bit SOPT2[FLEXIOSRC]). */ 1212 #define FSL_FEATURE_SIM_OPT_HAS_FLEXIOSRC (0) 1213 /* @brief Has UART0 clock source selection (register bit SOPT2[UART0SRC]). */ 1214 #define FSL_FEATURE_SIM_OPT_HAS_UART0SRC (0) 1215 /* @brief Has TPM clock source selection (register bit SOPT2[TPMSRC]). */ 1216 #define FSL_FEATURE_SIM_OPT_HAS_TPMSRC (0) 1217 /* @brief Has debug trace clock selection (register bit SOPT2[TRACECLKSEL]). */ 1218 #define FSL_FEATURE_SIM_OPT_HAS_TRACE_CLKSEL (0) 1219 /* @brief Number of ADC modules (register bits SOPT7[ADCnTRGSEL], SOPT7[ADCnPRETRGSEL], SOPT7[ADCnALTTRGSEL], where n is a module instance index). */ 1220 #define FSL_FEATURE_SIM_OPT_ADC_COUNT (0) 1221 /* @brief ADC0 alternate trigger enable width (width of bit field ADC0ALTTRGEN of register SOPT7). */ 1222 #define FSL_FEATURE_SIM_OPT_ADC0ALTTRGEN_WIDTH (0) 1223 /* @brief ADC1 alternate trigger enable width (width of bit field ADC1ALTTRGEN of register SOPT7). */ 1224 #define FSL_FEATURE_SIM_OPT_ADC1ALTTRGEN_WIDTH (0) 1225 /* @brief ADC2 alternate trigger enable width (width of bit field ADC2ALTTRGEN of register SOPT7). */ 1226 #define FSL_FEATURE_SIM_OPT_ADC2ALTTRGEN_WIDTH (0) 1227 /* @brief ADC3 alternate trigger enable width (width of bit field ADC3ALTTRGEN of register SOPT7). */ 1228 #define FSL_FEATURE_SIM_OPT_ADC3ALTTRGEN_WIDTH (0) 1229 /* @brief HSADC0 converter A alternate trigger enable width (width of bit field HSADC0AALTTRGEN of register SOPT7). */ 1230 #define FSL_FEATURE_SIM_OPT_HSADC0AALTTRGEN_WIDTH (0) 1231 /* @brief HSADC1 converter A alternate trigger enable width (width of bit field HSADC1AALTTRGEN of register SOPT7). */ 1232 #define FSL_FEATURE_SIM_OPT_HSADC1AALTTRGEN_WIDTH (0) 1233 /* @brief ADC converter A alternate trigger enable width (width of bit field ADCAALTTRGEN of register SOPT7). */ 1234 #define FSL_FEATURE_SIM_OPT_ADCAALTTRGEN_WIDTH (0) 1235 /* @brief HSADC0 converter B alternate trigger enable width (width of bit field HSADC0BALTTRGEN of register SOPT7). */ 1236 #define FSL_FEATURE_SIM_OPT_HSADC0BALTTRGEN_WIDTH (0) 1237 /* @brief HSADC1 converter B alternate trigger enable width (width of bit field HSADC1BALTTRGEN of register SOPT7). */ 1238 #define FSL_FEATURE_SIM_OPT_HSADC1BALTTRGEN_WIDTH (0) 1239 /* @brief ADC converter B alternate trigger enable width (width of bit field ADCBALTTRGEN of register SOPT7). */ 1240 #define FSL_FEATURE_SIM_OPT_ADCBALTTRGEN_WIDTH (0) 1241 /* @brief Has clock 2 output divider (register bit field CLKDIV1[OUTDIV2]). */ 1242 #define FSL_FEATURE_SIM_DIVIDER_HAS_OUTDIV2 (0) 1243 /* @brief Has clock 3 output divider (register bit field CLKDIV1[OUTDIV3]). */ 1244 #define FSL_FEATURE_SIM_DIVIDER_HAS_OUTDIV3 (0) 1245 /* @brief Has clock 4 output divider (register bit field CLKDIV1[OUTDIV4]). */ 1246 #define FSL_FEATURE_SIM_DIVIDER_HAS_OUTDIV4 (0) 1247 /* @brief Clock 4 output divider width (width of register bit field CLKDIV1[OUTDIV4]). */ 1248 #define FSL_FEATURE_SIM_DIVIDER_OUTDIV4_WIDTH (0) 1249 /* @brief Has clock 5 output divider (register bit field CLKDIV1[OUTDIV5]). */ 1250 #define FSL_FEATURE_SIM_DIVIDER_HAS_OUTDIV5 (0) 1251 /* @brief Has USB clock divider (register bit field CLKDIV2[USBDIV] and CLKDIV2[USBFRAC]). */ 1252 #define FSL_FEATURE_SIM_DIVIDER_HAS_USBDIV (0) 1253 /* @brief Has USB FS clock divider (register bit field CLKDIV2[USBFSDIV] and CLKDIV2[USBFSFRAC]). */ 1254 #define FSL_FEATURE_SIM_DIVIDER_HAS_USBFSDIV (0) 1255 /* @brief Has USB HS clock divider (register bit field CLKDIV2[USBHSDIV] and CLKDIV2[USBHSFRAC]). */ 1256 #define FSL_FEATURE_SIM_DIVIDER_HAS_USBHSDIV (0) 1257 /* @brief Has PLL/FLL clock divider (register bit field CLKDIV3[PLLFLLDIV] and CLKDIV3[PLLFLLFRAC]). */ 1258 #define FSL_FEATURE_SIM_DIVIDER_HAS_PLLFLLDIV (0) 1259 /* @brief Has LCDC clock divider (register bit field CLKDIV3[LCDCDIV] and CLKDIV3[LCDCFRAC]). */ 1260 #define FSL_FEATURE_SIM_DIVIDER_HAS_LCDCDIV (0) 1261 /* @brief Has trace clock divider (register bit field CLKDIV4[TRACEDIV] and CLKDIV4[TRACEFRAC]). */ 1262 #define FSL_FEATURE_SIM_DIVIDER_HAS_TRACEDIV (0) 1263 /* @brief Has NFC clock divider (register bit field CLKDIV4[NFCDIV] and CLKDIV4[NFCFRAC]). */ 1264 #define FSL_FEATURE_SIM_DIVIDER_HAS_NFCDIV (0) 1265 /* @brief Has Kinetis family ID (register bit field SDID[FAMILYID]). */ 1266 #define FSL_FEATURE_SIM_SDID_HAS_FAMILYID (0) 1267 /* @brief Has Kinetis family ID (register bit field SDID[FAMID]). */ 1268 #define FSL_FEATURE_SIM_SDID_HAS_FAMID (1) 1269 /* @brief Has Kinetis sub-family ID (register bit field SDID[SUBFAMID]). */ 1270 #define FSL_FEATURE_SIM_SDID_HAS_SUBFAMID (1) 1271 /* @brief Has Kinetis series ID (register bit field SDID[SERIESID]). */ 1272 #define FSL_FEATURE_SIM_SDID_HAS_SERIESID (1) 1273 /* @brief Has device die ID (register bit field SDID[DIEID]). */ 1274 #define FSL_FEATURE_SIM_SDID_HAS_DIEID (1) 1275 /* @brief Has system SRAM size specifier (register bit field SDID[SRAMSIZE]). */ 1276 #define FSL_FEATURE_SIM_SDID_HAS_SRAMSIZE (1) 1277 /* @brief Has flash mode (register bit FCFG1[FLASHDOZE]). */ 1278 #define FSL_FEATURE_SIM_FCFG_HAS_FLASHDOZE (1) 1279 /* @brief Has flash disable (register bit FCFG1[FLASHDIS]). */ 1280 #define FSL_FEATURE_SIM_FCFG_HAS_FLASHDIS (1) 1281 /* @brief Has FTFE disable (register bit FCFG1[FTFDIS]). */ 1282 #define FSL_FEATURE_SIM_FCFG_HAS_FTFDIS (0) 1283 /* @brief Has FlexNVM size specifier (register bit field FCFG1[NVMSIZE]). */ 1284 #define FSL_FEATURE_SIM_FCFG_HAS_NVMSIZE (0) 1285 /* @brief Has EEPROM size specifier (register bit field FCFG1[EESIZE]). */ 1286 #define FSL_FEATURE_SIM_FCFG_HAS_EESIZE (0) 1287 /* @brief Has FlexNVM partition (register bit field FCFG1[DEPART]). */ 1288 #define FSL_FEATURE_SIM_FCFG_HAS_DEPART (0) 1289 /* @brief Maximum flash address block 0 address specifier (register bit field FCFG2[MAXADDR0]). */ 1290 #define FSL_FEATURE_SIM_FCFG_HAS_MAXADDR0 (0) 1291 /* @brief Maximum flash address block 1 address specifier (register bit field FCFG2[MAXADDR1]). */ 1292 #define FSL_FEATURE_SIM_FCFG_HAS_MAXADDR1 (0) 1293 /* @brief Maximum flash address block 0 or 1 address specifier (register bit field FCFG2[MAXADDR01]). */ 1294 #define FSL_FEATURE_SIM_FCFG_HAS_MAXADDR01 (0) 1295 /* @brief Maximum flash address block 2 or 3 address specifier (register bit field FCFG2[MAXADDR23]). */ 1296 #define FSL_FEATURE_SIM_FCFG_HAS_MAXADDR23 (0) 1297 /* @brief Has program flash availability specifier (register bit FCFG2[PFLSH]). */ 1298 #define FSL_FEATURE_SIM_FCFG_HAS_PFLSH (0) 1299 /* @brief Has program flash swapping (register bit FCFG2[SWAPPFLSH]). */ 1300 #define FSL_FEATURE_SIM_FCFG_HAS_PFLSH_SWAP (0) 1301 /* @brief Has miscellanious control register (register MCR). */ 1302 #define FSL_FEATURE_SIM_HAS_MISC_CONTROLS (0) 1303 /* @brief Has COP watchdog (registers COPC and SRVCOP). */ 1304 #define FSL_FEATURE_SIM_HAS_COP_WATCHDOG (0) 1305 /* @brief Has COP watchdog stop (register bits COPC[COPSTPEN], COPC[COPDBGEN] and COPC[COPCLKSEL]). */ 1306 #define FSL_FEATURE_SIM_HAS_COP_STOP (0) 1307 /* @brief Has LLWU clock gate bit (e.g SIM_SCGC4). */ 1308 #define FSL_FEATURE_SIM_HAS_SCGC_LLWU (0) 1309 /* @brief Has UIDH registers. */ 1310 #define FSL_FEATURE_SIM_HAS_UIDH (1) 1311 /* @brief Has UIDM registers. */ 1312 #define FSL_FEATURE_SIM_HAS_UIDM (0) 1313 1314 /* SMC module features */ 1315 1316 /* @brief Has partial stop option (register bit STOPCTRL[PSTOPO]). */ 1317 #define FSL_FEATURE_SMC_HAS_PSTOPO (1) 1318 /* @brief Has LPO power option (register bit STOPCTRL[LPOPO]). */ 1319 #define FSL_FEATURE_SMC_HAS_LPOPO (0) 1320 /* @brief Has POR power option (register bit STOPCTRL[PORPO] or VLLSCTRL[PORPO]). */ 1321 #define FSL_FEATURE_SMC_HAS_PORPO (1) 1322 /* @brief Has low power wakeup on interrupt (register bit PMCTRL[LPWUI]). */ 1323 #define FSL_FEATURE_SMC_HAS_LPWUI (0) 1324 /* @brief Has LLS or VLLS mode control (register bit STOPCTRL[LLSM]). */ 1325 #define FSL_FEATURE_SMC_HAS_LLS_SUBMODE (0) 1326 /* @brief Has VLLS mode control (register bit VLLSCTRL[VLLSM]). */ 1327 #define FSL_FEATURE_SMC_USE_VLLSCTRL_REG (0) 1328 /* @brief Has VLLS mode control (register bit STOPCTRL[VLLSM]). */ 1329 #define FSL_FEATURE_SMC_USE_STOPCTRL_VLLSM (1) 1330 /* @brief Has RAM partition 2 power option (register bit STOPCTRL[RAM2PO]). */ 1331 #define FSL_FEATURE_SMC_HAS_RAM2_POWER_OPTION (0) 1332 /* @brief Has high speed run mode (register bit PMPROT[AHSRUN]). */ 1333 #define FSL_FEATURE_SMC_HAS_HIGH_SPEED_RUN_MODE (0) 1334 /* @brief Has low leakage stop mode (register bit PMPROT[ALLS]). */ 1335 #define FSL_FEATURE_SMC_HAS_LOW_LEAKAGE_STOP_MODE (0) 1336 /* @brief Has very low leakage stop mode (register bit PMPROT[AVLLS]). */ 1337 #define FSL_FEATURE_SMC_HAS_VERY_LOW_LEAKAGE_STOP_MODE (1) 1338 /* @brief Has stop submode. */ 1339 #define FSL_FEATURE_SMC_HAS_SUB_STOP_MODE (1) 1340 /* @brief Has stop submode 0(VLLS0). */ 1341 #define FSL_FEATURE_SMC_HAS_STOP_SUBMODE0 (1) 1342 /* @brief Has stop submode 1(VLLS1). */ 1343 #define FSL_FEATURE_SMC_HAS_STOP_SUBMODE1 (1) 1344 /* @brief Has stop submode 2(VLLS2). */ 1345 #define FSL_FEATURE_SMC_HAS_STOP_SUBMODE2 (1) 1346 /* @brief Has SMC_PARAM. */ 1347 #define FSL_FEATURE_SMC_HAS_PARAM (0) 1348 /* @brief Has SMC_VERID. */ 1349 #define FSL_FEATURE_SMC_HAS_VERID (0) 1350 /* @brief Has stop abort flag (register bit PMCTRL[STOPA]). */ 1351 #define FSL_FEATURE_SMC_HAS_PMCTRL_STOPA (1) 1352 /* @brief Has tamper reset (register bit SRS[TAMPER]). */ 1353 #define FSL_FEATURE_SMC_HAS_SRS_TAMPER (0) 1354 /* @brief Has security violation reset (register bit SRS[SECVIO]). */ 1355 #define FSL_FEATURE_SMC_HAS_SRS_SECVIO (0) 1356 /* @brief Width of SMC registers. */ 1357 #define FSL_FEATURE_SMC_REG_WIDTH (8) 1358 1359 /* SPI module features */ 1360 1361 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */ 1362 #define FSL_FEATURE_SPI_HAS_FIFO (1) 1363 /* @brief Has DMA support (register bit fields C2[RXDMAE] and C2[TXDMAE]). */ 1364 #define FSL_FEATURE_SPI_HAS_DMA_SUPPORT (1) 1365 /* @brief Has separate DMA RX and TX requests. */ 1366 #define FSL_FEATURE_SPI_HAS_SEPARATE_DMA_RX_TX_REQn(x) (1) 1367 /* @brief Receive/transmit FIFO size in number of 16-bit communication items. */ 1368 #define FSL_FEATURE_SPI_FIFO_SIZEn(x) (0) 1369 /* @brief Maximum transfer data width in bits. */ 1370 #define FSL_FEATURE_SPI_MAX_DATA_WIDTH (16) 1371 /* @brief The data register name has postfix (L as low and H as high). */ 1372 #define FSL_FEATURE_SPI_DATA_REGISTER_HAS_POSTFIX (1) 1373 /* @brief Has separated TXDATA and CMD FIFOs (register SREX). */ 1374 #define FSL_FEATURE_SPI_HAS_SEPARATE_TXDATA_CMD_FIFO (0) 1375 /* @brief Has 16-bit data transfer support. */ 1376 #define FSL_FEATURE_SPI_16BIT_TRANSFERS (1) 1377 1378 /* SYSMPU module features */ 1379 1380 /* @brief Specifies number of descriptors available. */ 1381 #define FSL_FEATURE_SYSMPU_DESCRIPTOR_COUNT (8) 1382 /* @brief Has process identifier support. */ 1383 #define FSL_FEATURE_SYSMPU_HAS_PROCESS_IDENTIFIER (1) 1384 /* @brief Total number of MPU slave. */ 1385 #define FSL_FEATURE_SYSMPU_SLAVE_COUNT (2) 1386 /* @brief Total number of MPU master. */ 1387 #define FSL_FEATURE_SYSMPU_MASTER_COUNT (3) 1388 1389 /* UART module features */ 1390 1391 /* @brief Has receive FIFO overflow detection (bit field CFIFO[RXOFE]). */ 1392 #define FSL_FEATURE_UART_HAS_IRQ_EXTENDED_FUNCTIONS (1) 1393 /* @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). */ 1394 #define FSL_FEATURE_UART_HAS_LOW_POWER_UART_SUPPORT (0) 1395 /* @brief Has extended data register ED (or extra flags in the DATA register if the registers are 32-bit wide). */ 1396 #define FSL_FEATURE_UART_HAS_EXTENDED_DATA_REGISTER_FLAGS (1) 1397 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */ 1398 #define FSL_FEATURE_UART_HAS_FIFO (1) 1399 /* @brief Hardware flow control (RTS, CTS) is supported. */ 1400 #define FSL_FEATURE_UART_HAS_MODEM_SUPPORT (1) 1401 /* @brief Infrared (modulation) is supported. */ 1402 #define FSL_FEATURE_UART_HAS_IR_SUPPORT (0) 1403 /* @brief 2 bits long stop bit is available. */ 1404 #define FSL_FEATURE_UART_HAS_STOP_BIT_CONFIG_SUPPORT (0) 1405 /* @brief If 10-bit mode is supported. */ 1406 #define FSL_FEATURE_UART_HAS_10BIT_DATA_SUPPORT (1) 1407 /* @brief Baud rate fine adjustment is available. */ 1408 #define FSL_FEATURE_UART_HAS_BAUD_RATE_FINE_ADJUST_SUPPORT (1) 1409 /* @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). */ 1410 #define FSL_FEATURE_UART_HAS_BAUD_RATE_OVER_SAMPLING_SUPPORT (0) 1411 /* @brief Baud rate oversampling is available. */ 1412 #define FSL_FEATURE_UART_HAS_RX_RESYNC_SUPPORT (0) 1413 /* @brief Baud rate oversampling is available. */ 1414 #define FSL_FEATURE_UART_HAS_BOTH_EDGE_SAMPLING_SUPPORT (0) 1415 /* @brief Peripheral type. */ 1416 #define FSL_FEATURE_UART_IS_SCI (0) 1417 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */ 1418 #define FSL_FEATURE_UART_FIFO_SIZEn(x) (8) 1419 /* @brief Supports two match addresses to filter incoming frames. */ 1420 #define FSL_FEATURE_UART_HAS_ADDRESS_MATCHING (1) 1421 /* @brief Has transmitter/receiver DMA enable bits C5[TDMAE]/C5[RDMAE] (or BAUD[TDMAE]/BAUD[RDMAE] if the registers are 32-bit wide). */ 1422 #define FSL_FEATURE_UART_HAS_DMA_ENABLE (0) 1423 /* @brief Has transmitter/receiver DMA select bits C4[TDMAS]/C4[RDMAS], resp. C5[TDMAS]/C5[RDMAS] if IS_SCI = 0. */ 1424 #define FSL_FEATURE_UART_HAS_DMA_SELECT (1) 1425 /* @brief Data character bit order selection is supported (bit field S2[MSBF] or STAT[MSBF] if the registers are 32-bit wide). */ 1426 #define FSL_FEATURE_UART_HAS_BIT_ORDER_SELECT (1) 1427 /* @brief Has smart card (ISO7816 protocol) support and no improved smart card support. */ 1428 #define FSL_FEATURE_UART_HAS_SMART_CARD_SUPPORT (1) 1429 /* @brief Has improved smart card (ISO7816 protocol) support. */ 1430 #define FSL_FEATURE_UART_HAS_IMPROVED_SMART_CARD_SUPPORT (0) 1431 /* @brief Has local operation network (CEA709.1-B protocol) support. */ 1432 #define FSL_FEATURE_UART_HAS_LOCAL_OPERATION_NETWORK_SUPPORT (0) 1433 /* @brief Has 32-bit registers (BAUD, STAT, CTRL, DATA, MATCH, MODIR) instead of 8-bit (BDH, BDL, C1, S1, D, etc.). */ 1434 #define FSL_FEATURE_UART_HAS_32BIT_REGISTERS (0) 1435 /* @brief Lin break detect available (has bit BDH[LBKDIE]). */ 1436 #define FSL_FEATURE_UART_HAS_LIN_BREAK_DETECT (0) 1437 /* @brief UART stops in Wait mode available (has bit C1[UARTSWAI]). */ 1438 #define FSL_FEATURE_UART_HAS_WAIT_MODE_OPERATION (0) 1439 /* @brief Has separate DMA RX and TX requests. */ 1440 #define FSL_FEATURE_UART_HAS_SEPARATE_DMA_RX_TX_REQn(x) (1) 1441 /* @brief UART0 and UART1 have shared interrupt vector. */ 1442 #define FSL_FEATURE_UART_HAS_SHARED_IRQ0_IRQ1 (1) 1443 /* @brief UART2 and UART3 have shared interrupt vector. */ 1444 #define FSL_FEATURE_UART_HAS_SHARED_IRQ2_IRQ3 (1) 1445 1446 /* VREF module features */ 1447 1448 /* @brief Has chop oscillator (bit TRM[CHOPEN]) */ 1449 #define FSL_FEATURE_VREF_HAS_CHOP_OSC (1) 1450 /* @brief Has second order curvature compensation (bit SC[ICOMPEN]) */ 1451 #define FSL_FEATURE_VREF_HAS_COMPENSATION (1) 1452 /* @brief If high/low buffer mode supported */ 1453 #define FSL_FEATURE_VREF_MODE_LV_TYPE (1) 1454 /* @brief Module has also low reference (registers VREFL/VREFH) */ 1455 #define FSL_FEATURE_VREF_HAS_LOW_REFERENCE (1) 1456 1457 /* WDOG module features */ 1458 1459 /* @brief Watchdog is available. */ 1460 #define FSL_FEATURE_WDOG_HAS_WATCHDOG (1) 1461 /* @brief Has Wait mode support. */ 1462 #define FSL_FEATURE_WDOG_HAS_WAITEN (0) 1463 1464 /* XBAR module features */ 1465 1466 /* @brief Number of interrupt requests. */ 1467 #define FSL_FEATURE_XBAR_INTERRUPT_COUNT (1) 1468 1469 #endif /* _MKM14ZA5_FEATURES_H_ */ 1470 1471