1 /* 2 ** ################################################################### 3 ** Version: rev. 1.0, 2018-06-19 4 ** Build: b230105 5 ** 6 ** Abstract: 7 ** Chip specific module features. 8 ** 9 ** Copyright 2016 Freescale Semiconductor, Inc. 10 ** Copyright 2016-2023 NXP 11 ** All rights reserved. 12 ** 13 ** SPDX-License-Identifier: BSD-3-Clause 14 ** 15 ** http: www.nxp.com 16 ** mail: support@nxp.com 17 ** 18 ** Revisions: 19 ** - rev. 1.0 (2018-06-19) 20 ** Initial version. 21 ** 22 ** ################################################################### 23 */ 24 25 #ifndef _MIMXRT685S_dsp_FEATURES_H_ 26 #define _MIMXRT685S_dsp_FEATURES_H_ 27 28 /* SOC module features */ 29 30 /* @brief ACMP availability on the SoC. */ 31 #define FSL_FEATURE_SOC_ACMP_COUNT (1) 32 /* @brief CACHE64_CTRL availability on the SoC. */ 33 #define FSL_FEATURE_SOC_CACHE64_CTRL_COUNT (1) 34 /* @brief CACHE64_POLSEL availability on the SoC. */ 35 #define FSL_FEATURE_SOC_CACHE64_POLSEL_COUNT (1) 36 /* @brief CLKCTL0 availability on the SoC. */ 37 #define FSL_FEATURE_SOC_CLKCTL0_COUNT (1) 38 /* @brief CLKCTL1 availability on the SoC. */ 39 #define FSL_FEATURE_SOC_CLKCTL1_COUNT (1) 40 /* @brief CRC availability on the SoC. */ 41 #define FSL_FEATURE_SOC_CRC_COUNT (1) 42 /* @brief CTIMER availability on the SoC. */ 43 #define FSL_FEATURE_SOC_CTIMER_COUNT (5) 44 /* @brief DMA availability on the SoC. */ 45 #define FSL_FEATURE_SOC_DMA_COUNT (2) 46 /* @brief DMIC availability on the SoC. */ 47 #define FSL_FEATURE_SOC_DMIC_COUNT (1) 48 /* @brief FLEXCOMM availability on the SoC. */ 49 #define FSL_FEATURE_SOC_FLEXCOMM_COUNT (10) 50 /* @brief FLEXSPI availability on the SoC. */ 51 #define FSL_FEATURE_SOC_FLEXSPI_COUNT (1) 52 /* @brief FREQME availability on the SoC. */ 53 #define FSL_FEATURE_SOC_FREQME_COUNT (1) 54 /* @brief GPIO availability on the SoC. */ 55 #define FSL_FEATURE_SOC_GPIO_COUNT (1) 56 /* @brief I2C availability on the SoC. */ 57 #define FSL_FEATURE_SOC_I2C_COUNT (9) 58 /* @brief I3C availability on the SoC. */ 59 #define FSL_FEATURE_SOC_I3C_COUNT (1) 60 /* @brief I2S availability on the SoC. */ 61 #define FSL_FEATURE_SOC_I2S_COUNT (8) 62 /* @brief INPUTMUX availability on the SoC. */ 63 #define FSL_FEATURE_SOC_INPUTMUX_COUNT (1) 64 /* @brief IOPCTL availability on the SoC. */ 65 #define FSL_FEATURE_SOC_IOPCTL_COUNT (1) 66 /* @brief LPADC availability on the SoC. */ 67 #define FSL_FEATURE_SOC_LPADC_COUNT (1) 68 /* @brief MPU availability on the SoC. */ 69 #define FSL_FEATURE_SOC_MPU_COUNT (1) 70 /* @brief MRT availability on the SoC. */ 71 #define FSL_FEATURE_SOC_MRT_COUNT (1) 72 /* @brief MU availability on the SoC. */ 73 #define FSL_FEATURE_SOC_MU_COUNT (1) 74 /* @brief OCOTP availability on the SoC. */ 75 #define FSL_FEATURE_SOC_OCOTP_COUNT (1) 76 /* @brief OSTIMER availability on the SoC. */ 77 #define FSL_FEATURE_SOC_OSTIMER_COUNT (1) 78 /* @brief OTFAD availability on the SoC. */ 79 #define FSL_FEATURE_SOC_OTFAD_COUNT (1) 80 /* @brief PINT availability on the SoC. */ 81 #define FSL_FEATURE_SOC_PINT_COUNT (1) 82 /* @brief PUF availability on the SoC. */ 83 #define FSL_FEATURE_SOC_PUF_COUNT (1) 84 /* @brief RSTCTL0 availability on the SoC. */ 85 #define FSL_FEATURE_SOC_RSTCTL0_COUNT (1) 86 /* @brief RSTCTL1 availability on the SoC. */ 87 #define FSL_FEATURE_SOC_RSTCTL1_COUNT (1) 88 /* @brief RTC availability on the SoC. */ 89 #define FSL_FEATURE_SOC_RTC_COUNT (1) 90 /* @brief SEMA42 availability on the SoC. */ 91 #define FSL_FEATURE_SOC_SEMA42_COUNT (1) 92 /* @brief SPI availability on the SoC. */ 93 #define FSL_FEATURE_SOC_SPI_COUNT (9) 94 /* @brief SYSCTL0 availability on the SoC. */ 95 #define FSL_FEATURE_SOC_SYSCTL0_COUNT (1) 96 /* @brief SYSCTL1 availability on the SoC. */ 97 #define FSL_FEATURE_SOC_SYSCTL1_COUNT (1) 98 /* @brief TRNG availability on the SoC. */ 99 #define FSL_FEATURE_SOC_TRNG_COUNT (1) 100 /* @brief USART availability on the SoC. */ 101 #define FSL_FEATURE_SOC_USART_COUNT (8) 102 /* @brief USBPHY availability on the SoC. */ 103 #define FSL_FEATURE_SOC_USBPHY_COUNT (1) 104 /* @brief USDHC availability on the SoC. */ 105 #define FSL_FEATURE_SOC_USDHC_COUNT (2) 106 /* @brief UTICK availability on the SoC. */ 107 #define FSL_FEATURE_SOC_UTICK_COUNT (1) 108 /* @brief WWDT availability on the SoC. */ 109 #define FSL_FEATURE_SOC_WWDT_COUNT (2) 110 111 /* LPADC module features */ 112 113 /* @brief FIFO availability on the SoC. */ 114 #define FSL_FEATURE_LPADC_FIFO_COUNT (1) 115 /* @brief Has subsequent trigger priority (bitfield CFG[TPRICTRL]). */ 116 #define FSL_FEATURE_LPADC_HAS_CFG_SUBSEQUENT_PRIORITY (1) 117 /* @brief Has differential mode (bitfield CMDLn[DIFF]). */ 118 #define FSL_FEATURE_LPADC_HAS_CMDL_DIFF (1) 119 /* @brief Has channel scale (bitfield CMDLn[CSCALE]). */ 120 #define FSL_FEATURE_LPADC_HAS_CMDL_CSCALE (1) 121 /* @brief Has conversion type select (bitfield CMDLn[CTYPE]). */ 122 #define FSL_FEATURE_LPADC_HAS_CMDL_CTYPE (0) 123 /* @brief Has conversion resolution select (bitfield CMDLn[MODE]). */ 124 #define FSL_FEATURE_LPADC_HAS_CMDL_MODE (0) 125 /* @brief Has Wait for trigger assertion before execution (bitfield CMDHn[WAIT_TRIG]). */ 126 #define FSL_FEATURE_LPADC_HAS_CMDH_WAIT_TRIG (0) 127 /* @brief Has offset calibration (bitfield CTRL[CALOFS]). */ 128 #define FSL_FEATURE_LPADC_HAS_CTRL_CALOFS (0) 129 /* @brief Has gain calibration (bitfield CTRL[CAL_REQ]). */ 130 #define FSL_FEATURE_LPADC_HAS_CTRL_CAL_REQ (0) 131 /* @brief Has calibration average (bitfield CTRL[CAL_AVGS]). */ 132 #define FSL_FEATURE_LPADC_HAS_CTRL_CAL_AVGS (0) 133 /* @brief Has internal clock (bitfield CFG[ADCKEN]). */ 134 #define FSL_FEATURE_LPADC_HAS_CFG_ADCKEN (0) 135 /* @brief Enable support for low voltage reference on option 1 reference (bitfield CFG[VREF1RNG]). */ 136 #define FSL_FEATURE_LPADC_HAS_CFG_VREF1RNG (0) 137 /* @brief Has calibration (bitfield CFG[CALOFS]). */ 138 #define FSL_FEATURE_LPADC_HAS_CFG_CALOFS (0) 139 /* @brief Has offset trim (register OFSTRIM). */ 140 #define FSL_FEATURE_LPADC_HAS_OFSTRIM (0) 141 /* @brief Has power select (bitfield CFG[PWRSEL]). */ 142 #define FSL_FEATURE_LPADC_HAS_CFG_PWRSEL (1) 143 /* @brief Has alternate channel B scale (bitfield CMDLn[ALTB_CSCALE]). */ 144 #define FSL_FEATURE_LPADC_HAS_CMDL_ALTB_CSCALE (0) 145 /* @brief Has alternate channel B select enable (bitfield CMDLn[ALTBEN]). */ 146 #define FSL_FEATURE_LPADC_HAS_CMDL_ALTBEN (0) 147 /* @brief Has alternate channel input (bitfield CMDLn[ALTB_ADCH]). */ 148 #define FSL_FEATURE_LPADC_HAS_CMDL_ALTB_ADCH (0) 149 /* @brief Has offset calibration mode (bitfield CTRL[CALOFSMODE]). */ 150 #define FSL_FEATURE_LPADC_HAS_CTRL_CALOFSMODE (0) 151 /* @brief Conversion averaged bitfiled width. */ 152 #define FSL_FEATURE_LPADC_CONVERSIONS_AVERAGED_BITFIELD_WIDTH (3) 153 154 /* CACHE64_CTRL module features */ 155 156 /* @brief Cache Line size in byte. */ 157 #define FSL_FEATURE_CACHE64_CTRL_LINESIZE_BYTE (32) 158 159 /* CACHE64_POLSEL module features */ 160 161 /* No feature definitions */ 162 163 /* ACMP module features */ 164 165 /* @brief Has CMP_C3. */ 166 #define FSL_FEATURE_ACMP_HAS_C3_REG (1) 167 /* @brief Has C0 LINKEN Bit */ 168 #define FSL_FEATURE_ACMP_HAS_C0_LINKEN_BIT (1) 169 /* @brief Has C0 OFFSET Bit */ 170 #define FSL_FEATURE_ACMP_HAS_C0_OFFSET_BIT (0) 171 /* @brief Has C1 INPSEL Bit */ 172 #define FSL_FEATURE_ACMP_HAS_C1_INPSEL_BIT (0) 173 /* @brief Has C1 INNSEL Bit */ 174 #define FSL_FEATURE_ACMP_HAS_C1_INNSEL_BIT (0) 175 /* @brief Has C1 DACOE Bit */ 176 #define FSL_FEATURE_ACMP_HAS_C1_DACOE_BIT (0) 177 /* @brief Has C1 DMODE Bit */ 178 #define FSL_FEATURE_ACMP_HAS_C1_DMODE_BIT (1) 179 /* @brief Has C2 RRE Bit */ 180 #define FSL_FEATURE_ACMP_HAS_C2_RRE_BIT (0) 181 182 /* CRC module features */ 183 184 /* @brief Has data register with name CRC */ 185 #define FSL_FEATURE_CRC_HAS_CRC_REG (0) 186 187 /* CTIMER module features */ 188 189 /* @brief CTIMER has no capture channel. */ 190 #define FSL_FEATURE_CTIMER_HAS_NO_INPUT_CAPTURE (0) 191 /* @brief CTIMER has no capture 2 interrupt. */ 192 #define FSL_FEATURE_CTIMER_HAS_NO_IR_CR2INT (0) 193 /* @brief CTIMER capture 3 interrupt. */ 194 #define FSL_FEATURE_CTIMER_HAS_IR_CR3INT (1) 195 /* @brief Has CTIMER CCR_CAP2 (register bits CCR[CAP2RE][CAP2FE][CAP2I]. */ 196 #define FSL_FEATURE_CTIMER_HAS_NO_CCR_CAP2 (0) 197 /* @brief Has CTIMER CCR_CAP3 (register bits CCR[CAP3RE][CAP3FE][CAP3I]). */ 198 #define FSL_FEATURE_CTIMER_HAS_CCR_CAP3 (1) 199 /* @brief CTIMER Has register MSR */ 200 #define FSL_FEATURE_CTIMER_HAS_MSR (1) 201 202 /* DMA module features */ 203 204 /* @brief Number of channels */ 205 #define FSL_FEATURE_DMA_NUMBER_OF_CHANNELSn(x) (33) 206 /* @brief Number of all DMA channels */ 207 #define FSL_FEATURE_DMA_ALL_CHANNELS (66) 208 /* @brief Max Number of DMA channels */ 209 #define FSL_FEATURE_DMA_MAX_CHANNELS (33) 210 /* @brief Align size of DMA descriptor */ 211 #define FSL_FEATURE_DMA_DESCRIPTOR_ALIGN_SIZE (1024) 212 /* @brief DMA head link descriptor table align size */ 213 #define FSL_FEATURE_DMA_LINK_DESCRIPTOR_ALIGN_SIZE (16U) 214 215 /* DMIC module features */ 216 217 /* @brief Number of channels */ 218 #define FSL_FEATURE_DMIC_CHANNEL_NUM (8) 219 /* @brief DMIC channel support stereo data */ 220 #define FSL_FEATURE_DMIC_IO_HAS_STEREO_2_4_6 (1) 221 /* @brief DMIC does not support bypass channel clock */ 222 #define FSL_FEATURE_DMIC_IO_HAS_NO_BYPASS (1) 223 /* @brief DMIC channel FIFO register support sign extended */ 224 #define FSL_FEATURE_DMIC_CHANNEL_HAS_SIGNEXTEND (1) 225 /* @brief DMIC has no IOCFG register */ 226 #define FSL_FEATURE_DMIC_HAS_NO_IOCFG (1) 227 /* @brief DMIC has decimator reset function */ 228 #define FSL_FEATURE_DMIC_HAS_DECIMATOR_RESET_FUNC (1) 229 /* @brief DMIC has global channel synchronization function */ 230 #define FSL_FEATURE_DMIC_HAS_GLOBAL_SYNC_FUNC (1) 231 232 /* FLEXCOMM module features */ 233 234 /* @brief FLEXCOMM0 USART INDEX 0 */ 235 #define FSL_FEATURE_FLEXCOMM0_USART_INDEX (0) 236 /* @brief FLEXCOMM0 SPI INDEX 0 */ 237 #define FSL_FEATURE_FLEXCOMM0_SPI_INDEX (0) 238 /* @brief FLEXCOMM0 I2C INDEX 0 */ 239 #define FSL_FEATURE_FLEXCOMM0_I2C_INDEX (0) 240 /* @brief FLEXCOMM0 I2S INDEX 0 */ 241 #define FSL_FEATURE_FLEXCOMM0_I2S_INDEX (0) 242 /* @brief FLEXCOMM1 USART INDEX 1 */ 243 #define FSL_FEATURE_FLEXCOMM1_USART_INDEX (1) 244 /* @brief FLEXCOMM1 SPI INDEX 1 */ 245 #define FSL_FEATURE_FLEXCOMM1_SPI_INDEX (1) 246 /* @brief FLEXCOMM1 I2C INDEX 1 */ 247 #define FSL_FEATURE_FLEXCOMM1_I2C_INDEX (1) 248 /* @brief FLEXCOMM1 I2S INDEX 1 */ 249 #define FSL_FEATURE_FLEXCOMM1_I2S_INDEX (1) 250 /* @brief FLEXCOMM2 USART INDEX 2 */ 251 #define FSL_FEATURE_FLEXCOMM2_USART_INDEX (2) 252 /* @brief FLEXCOMM2 SPI INDEX 2 */ 253 #define FSL_FEATURE_FLEXCOMM2_SPI_INDEX (2) 254 /* @brief FLEXCOMM2 I2C INDEX 2 */ 255 #define FSL_FEATURE_FLEXCOMM2_I2C_INDEX (2) 256 /* @brief FLEXCOMM2 I2S INDEX 2 */ 257 #define FSL_FEATURE_FLEXCOMM2_I2S_INDEX (2) 258 /* @brief FLEXCOMM3 USART INDEX 3 */ 259 #define FSL_FEATURE_FLEXCOMM3_USART_INDEX (3) 260 /* @brief FLEXCOMM3 SPI INDEX 3 */ 261 #define FSL_FEATURE_FLEXCOMM3_SPI_INDEX (3) 262 /* @brief FLEXCOMM3 I2C INDEX 3 */ 263 #define FSL_FEATURE_FLEXCOMM3_I2C_INDEX (3) 264 /* @brief FLEXCOMM3 I2S INDEX 3 */ 265 #define FSL_FEATURE_FLEXCOMM3_I2S_INDEX (3) 266 /* @brief FLEXCOMM4 USART INDEX 4 */ 267 #define FSL_FEATURE_FLEXCOMM4_USART_INDEX (4) 268 /* @brief FLEXCOMM4 SPI INDEX 4 */ 269 #define FSL_FEATURE_FLEXCOMM4_SPI_INDEX (4) 270 /* @brief FLEXCOMM4 I2C INDEX 4 */ 271 #define FSL_FEATURE_FLEXCOMM4_I2C_INDEX (4) 272 /* @brief FLEXCOMM4 I2S INDEX 4 */ 273 #define FSL_FEATURE_FLEXCOMM4_I2S_INDEX (4) 274 /* @brief FLEXCOMM5 USART INDEX 5 */ 275 #define FSL_FEATURE_FLEXCOMM5_USART_INDEX (5) 276 /* @brief FLEXCOMM5 SPI INDEX 5 */ 277 #define FSL_FEATURE_FLEXCOMM5_SPI_INDEX (5) 278 /* @brief FLEXCOMM5 I2C INDEX 5 */ 279 #define FSL_FEATURE_FLEXCOMM5_I2C_INDEX (5) 280 /* @brief FLEXCOMM5 I2S INDEX 5 */ 281 #define FSL_FEATURE_FLEXCOMM5_I2S_INDEX (5) 282 /* @brief FLEXCOMM6 USART INDEX 6 */ 283 #define FSL_FEATURE_FLEXCOMM6_USART_INDEX (6) 284 /* @brief FLEXCOMM6 SPI INDEX 6 */ 285 #define FSL_FEATURE_FLEXCOMM6_SPI_INDEX (6) 286 /* @brief FLEXCOMM6 I2C INDEX 6 */ 287 #define FSL_FEATURE_FLEXCOMM6_I2C_INDEX (6) 288 /* @brief FLEXCOMM6 I2S INDEX 6 */ 289 #define FSL_FEATURE_FLEXCOMM6_I2S_INDEX (6) 290 /* @brief FLEXCOMM7 USART INDEX 7 */ 291 #define FSL_FEATURE_FLEXCOMM7_USART_INDEX (7) 292 /* @brief FLEXCOMM7 SPI INDEX 7 */ 293 #define FSL_FEATURE_FLEXCOMM7_SPI_INDEX (7) 294 /* @brief FLEXCOMM7 I2C INDEX 7 */ 295 #define FSL_FEATURE_FLEXCOMM7_I2C_INDEX (7) 296 /* @brief FLEXCOMM7 I2S INDEX 7 */ 297 #define FSL_FEATURE_FLEXCOMM7_I2S_INDEX (7) 298 /* @brief FLEXCOMM14 SPI(HS_SPI) INDEX 14 */ 299 #define FSL_FEATURE_FLEXCOMM14_SPI_INDEX (14) 300 /* @brief FLEXCOMM15 I2C INDEX 15 */ 301 #define FSL_FEATURE_FLEXCOMM15_I2C_INDEX (15) 302 /* @brief I2S has DMIC interconnection */ 303 #define FSL_FEATURE_FLEXCOMM_INSTANCE_I2S_HAS_DMIC_INTERCONNECTIONn(x) \ 304 (((x) == FLEXCOMM0) ? (1) : \ 305 (((x) == FLEXCOMM1) ? (0) : \ 306 (((x) == FLEXCOMM2) ? (0) : \ 307 (((x) == FLEXCOMM3) ? (0) : \ 308 (((x) == FLEXCOMM4) ? (0) : \ 309 (((x) == FLEXCOMM5) ? (0) : \ 310 (((x) == FLEXCOMM6) ? (0) : \ 311 (((x) == FLEXCOMM7) ? (0) : \ 312 (((x) == FLEXCOMM14) ? (0) : \ 313 (((x) == FLEXCOMM15) ? (0) : (-1))))))))))) 314 315 /* FLEXSPI module features */ 316 317 /* @brief FlexSPI AHB buffer count */ 318 #define FSL_FEATURE_FLEXSPI_AHB_BUFFER_COUNTn(x) (8) 319 /* @brief FlexSPI has no MCR0 ARDFEN bit */ 320 #define FSL_FEATURE_FLEXSPI_HAS_NO_MCR0_ARDFEN (1) 321 /* @brief FlexSPI has no MCR0 ATDFEN bit */ 322 #define FSL_FEATURE_FLEXSPI_HAS_NO_MCR0_ATDFEN (1) 323 /* @brief FlexSPI has no MCR0 COMBINATIONEN bit */ 324 #define FSL_FEATURE_FLEXSPI_HAS_NO_MCR0_COMBINATIONEN (1) 325 /* @brief FLEXSPI has no IP parallel mode. */ 326 #define FSL_FEATURE_FLEXSPI_HAS_NO_IP_PARALLEL_MODE (0) 327 /* @brief FLEXSPI has no AHB parallel mode. */ 328 #define FSL_FEATURE_FLEXSPI_HAS_NO_AHB_PARALLEL_MODE (0) 329 /* @brief FLEXSPI support address shift. */ 330 #define FSL_FEATURE_FLEXSPI_SUPPORT_ADDRESS_SHIFT (0) 331 332 /* GPIO module features */ 333 334 /* @brief GPIO has interrupts */ 335 #define FSL_FEATURE_GPIO_HAS_INTERRUPT (1) 336 /* @brief GPIO DIRSET and DIRCLR register. */ 337 #define FSL_FEATURE_GPIO_DIRSET_AND_DIRCLR (1) 338 339 /* I2S module features */ 340 341 /* @brief I2S support dual channel transfer. */ 342 #define FSL_FEATURE_I2S_SUPPORT_SECONDARY_CHANNEL (1) 343 /* @brief I2S has DMIC interconnection. */ 344 #define FSL_FEATURE_FLEXCOMM_I2S_HAS_DMIC_INTERCONNECTION (1) 345 346 /* I3C module features */ 347 348 /* @brief Has TERM bitfile in MERRWARN register. */ 349 #define FSL_FEATURE_I3C_HAS_NO_MERRWARN_TERM (0) 350 /* @brief SOC has no reset driver. */ 351 #define FSL_FEATURE_I3C_HAS_NO_RESET (0) 352 /* @brief Use fixed BAMATCH count, do not provide editable BAMATCH. */ 353 #define FSL_FEATURE_I3C_HAS_NO_SCONFIG_BAMATCH (0) 354 /* @brief Register SCONFIG do not have IDRAND bitfield. */ 355 #define FSL_FEATURE_I3C_HAS_NO_SCONFIG_IDRAND (0) 356 /* @brief Register SCONFIG has HDROK bitfield. */ 357 #define FSL_FEATURE_I3C_HAS_HDROK (0) 358 359 /* INPUTMUX module features */ 360 361 /* @brief Number of channels */ 362 #define FSL_FEATURE_INPUTMUX_HAS_SIGNAL_ENA (1) 363 364 /* MRT module features */ 365 366 /* @brief number of channels. */ 367 #define FSL_FEATURE_MRT_NUMBER_OF_CHANNELS (4) 368 369 /* MU module features */ 370 371 /* @brief MU has no reset control */ 372 #define FSL_FEATURE_MU_HAS_NO_RESET (1) 373 /* @brief MU Has register CCR */ 374 #define FSL_FEATURE_MU_HAS_CCR (0) 375 /* @brief MU Has register SR[RS], BSR[ARS] */ 376 #define FSL_FEATURE_MU_HAS_SR_RS (1) 377 /* @brief MU Has register CR[RDIE], CR[RAIE], SR[RDIP], SR[RAIP] */ 378 #define FSL_FEATURE_MU_HAS_RESET_INT (0) 379 /* @brief MU Has register SR[MURIP] */ 380 #define FSL_FEATURE_MU_HAS_SR_MURIP (0) 381 /* @brief brief MU Has register SR[HRIP] */ 382 #define FSL_FEATURE_MU_HAS_SR_HRIP (0) 383 /* @brief brief MU does not support enable clock of the other core, CR[CLKE] or CCR[CLKE]. */ 384 #define FSL_FEATURE_MU_NO_CLKE (1) 385 /* @brief brief MU does not support NMI, CR[NMI]. */ 386 #define FSL_FEATURE_MU_NO_NMI (1) 387 /* @brief brief MU does not support hold the other core reset. CR[RSTH] or CCR[RSTH]. */ 388 #define FSL_FEATURE_MU_NO_RSTH (1) 389 /* @brief brief MU does not supports MU reset, CR[MUR]. */ 390 #define FSL_FEATURE_MU_NO_MUR (1) 391 /* @brief brief MU does not supports hardware reset, CR[HR] or CCR[HR]. */ 392 #define FSL_FEATURE_MU_NO_HR (1) 393 /* @brief brief MU supports mask the hardware reset. CR[HRM] or CCR[HRM]. */ 394 #define FSL_FEATURE_MU_HAS_HRM (0) 395 396 /* OTFAD module features */ 397 398 /* @brief OTFAD has Security Violation Mode (SVM) */ 399 #define FSL_FEATURE_OTFAD_HAS_SVM_MODE (0) 400 /* @brief OTFAD has Key Blob Processing */ 401 #define FSL_FEATURE_OTFAD_HAS_KEYBLOB_PROCESSING (0) 402 /* @brief OTFAD has interrupt request enable */ 403 #define FSL_FEATURE_OTFAD_HAS_HAS_IRQ_ENABLE (0) 404 /* @brief OTFAD has Force Error */ 405 #define FSL_FEATURE_OTFAD_HAS_FORCE_ERR (0) 406 407 /* PINT module features */ 408 409 /* @brief Number of connected outputs */ 410 #define FSL_FEATURE_PINT_NUMBER_OF_CONNECTED_OUTPUTS (8) 411 412 /* PUF module features */ 413 414 /* @brief PUF need to setup SRAM manually */ 415 #define FSL_FEATURE_PUF_PWR_HAS_MANUAL_SLEEP_CONTROL (1) 416 /* @brief PUF has SHIFT_STATUS register. */ 417 #define FSL_FEATURE_PUF_HAS_SHIFT_STATUS (0) 418 /* @brief PUF has IDXBLK_SHIFT register. */ 419 #define FSL_FEATURE_PUF_HAS_IDXBLK_SHIFT (0) 420 421 /* RTC module features */ 422 423 /* @brief RTC does not support reset from RSTCTL. */ 424 #define FSL_FEATURE_RTC_HAS_NO_RESET (1) 425 426 /* SEMA42 module features */ 427 428 /* @brief Gate counts */ 429 #define FSL_FEATURE_SEMA42_GATE_COUNT (16) 430 431 /* SPI module features */ 432 433 /* @brief SSEL pin count. */ 434 #define FSL_FEATURE_SPI_SSEL_COUNT (4) 435 436 /* TRNG module features */ 437 438 /* No feature definitions */ 439 440 /* USBPHY module features */ 441 442 /* @brief USBPHY contain DCD analog module */ 443 #define FSL_FEATURE_USBPHY_HAS_DCD_ANALOG (1) 444 /* @brief USBPHY has register TRIM_OVERRIDE_EN */ 445 #define FSL_FEATURE_USBPHY_HAS_TRIM_OVERRIDE_EN (1) 446 /* @brief USBPHY is 28FDSOI */ 447 #define FSL_FEATURE_USBPHY_28FDSOI (0) 448 449 /* USDHC module features */ 450 451 /* @brief Has external DMA support (VEND_SPEC[EXT_DMA_EN]) */ 452 #define FSL_FEATURE_USDHC_HAS_EXT_DMA (0) 453 /* @brief Has HS400 mode (MIX_CTRL[HS400_MODE]) */ 454 #define FSL_FEATURE_USDHC_HAS_HS400_MODE (1) 455 /* @brief Has SDR50 support (HOST_CTRL_CAP[SDR50_SUPPORT]) */ 456 #define FSL_FEATURE_USDHC_HAS_SDR50_MODE (1) 457 /* @brief Has SDR104 support (HOST_CTRL_CAP[SDR104_SUPPORT]) */ 458 #define FSL_FEATURE_USDHC_HAS_SDR104_MODE (1) 459 /* @brief USDHC has reset control */ 460 #define FSL_FEATURE_USDHC_HAS_RESET (1) 461 /* @brief USDHC has no bitfield WTMK_LVL[WR_BRST_LEN] and WTMK_LVL[RD_BRST_LEN] */ 462 #define FSL_FEATURE_USDHC_HAS_NO_RW_BURST_LEN (0) 463 /* @brief If USDHC instance support 8 bit width */ 464 #define FSL_FEATURE_USDHC_INSTANCE_SUPPORT_8_BIT_WIDTHn(x) (1) 465 /* @brief If USDHC instance support HS400 mode */ 466 #define FSL_FEATURE_USDHC_INSTANCE_SUPPORT_HS400_MODEn(x) \ 467 (((x) == USDHC0) ? (1) : \ 468 (((x) == USDHC1) ? (0) : (-1))) 469 /* @brief If USDHC instance support 1v8 signal */ 470 #define FSL_FEATURE_USDHC_INSTANCE_SUPPORT_1V8_SIGNALn(x) (1) 471 /* @brief Has no retuning time counter (HOST_CTRL_CAP[TIME_COUNT_RETURNING]) */ 472 #define FSL_FEATURE_USDHC_REGISTER_HOST_CTRL_CAP_HAS_NO_RETUNING_TIME_COUNTER (0) 473 474 /* UTICK module features */ 475 476 /* @brief UTICK does not support power down configure. */ 477 #define FSL_FEATURE_UTICK_HAS_NO_PDCFG (1) 478 479 /* WWDT module features */ 480 481 /* @brief WWDT does not support oscillator lock. */ 482 #define FSL_FEATURE_WWDT_HAS_NO_OSCILLATOR_LOCK (0) 483 /* @brief WWDT does not support power down configure. */ 484 #define FSL_FEATURE_WWDT_HAS_NO_PDCFG (1) 485 486 #endif /* _MIMXRT685S_dsp_FEATURES_H_ */ 487 488