1 /*
2 ** ###################################################################
3 **     Version:             rev. 0.1, 2020-01-15
4 **     Build:               b231024
5 **
6 **     Abstract:
7 **         Chip specific module features.
8 **
9 **     Copyright 2016 Freescale Semiconductor, Inc.
10 **     Copyright 2016-2023 NXP
11 **     SPDX-License-Identifier: BSD-3-Clause
12 **
13 **     http:                 www.nxp.com
14 **     mail:                 support@nxp.com
15 **
16 **     Revisions:
17 **     - rev. 0.1 (2020-01-15)
18 **         Initial version.
19 **
20 ** ###################################################################
21 */
22 
23 #ifndef _MIMXRT1024_FEATURES_H_
24 #define _MIMXRT1024_FEATURES_H_
25 
26 /* SOC module features */
27 
28 /* @brief ADC availability on the SoC. */
29 #define FSL_FEATURE_SOC_ADC_COUNT (2)
30 /* @brief AIPSTZ availability on the SoC. */
31 #define FSL_FEATURE_SOC_AIPSTZ_COUNT (4)
32 /* @brief AOI availability on the SoC. */
33 #define FSL_FEATURE_SOC_AOI_COUNT (1)
34 /* @brief CCM availability on the SoC. */
35 #define FSL_FEATURE_SOC_CCM_COUNT (1)
36 /* @brief CCM_ANALOG availability on the SoC. */
37 #define FSL_FEATURE_SOC_CCM_ANALOG_COUNT (1)
38 /* @brief CMP availability on the SoC. */
39 #define FSL_FEATURE_SOC_CMP_COUNT (4)
40 /* @brief DCDC availability on the SoC. */
41 #define FSL_FEATURE_SOC_DCDC_COUNT (1)
42 /* @brief DCP availability on the SoC. */
43 #define FSL_FEATURE_SOC_DCP_COUNT (1)
44 /* @brief DMAMUX availability on the SoC. */
45 #define FSL_FEATURE_SOC_DMAMUX_COUNT (1)
46 /* @brief EDMA availability on the SoC. */
47 #define FSL_FEATURE_SOC_EDMA_COUNT (1)
48 /* @brief ENC availability on the SoC. */
49 #define FSL_FEATURE_SOC_ENC_COUNT (2)
50 /* @brief ENET availability on the SoC. */
51 #define FSL_FEATURE_SOC_ENET_COUNT (1)
52 /* @brief EWM availability on the SoC. */
53 #define FSL_FEATURE_SOC_EWM_COUNT (1)
54 /* @brief FLEXCAN availability on the SoC. */
55 #define FSL_FEATURE_SOC_FLEXCAN_COUNT (2)
56 /* @brief FLEXIO availability on the SoC. */
57 #define FSL_FEATURE_SOC_FLEXIO_COUNT (1)
58 /* @brief FLEXRAM availability on the SoC. */
59 #define FSL_FEATURE_SOC_FLEXRAM_COUNT (1)
60 /* @brief FLEXSPI availability on the SoC. */
61 #define FSL_FEATURE_SOC_FLEXSPI_COUNT (1)
62 /* @brief GPC availability on the SoC. */
63 #define FSL_FEATURE_SOC_GPC_COUNT (1)
64 /* @brief GPT availability on the SoC. */
65 #define FSL_FEATURE_SOC_GPT_COUNT (2)
66 /* @brief I2S availability on the SoC. */
67 #define FSL_FEATURE_SOC_I2S_COUNT (3)
68 /* @brief IGPIO availability on the SoC. */
69 #define FSL_FEATURE_SOC_IGPIO_COUNT (4)
70 /* @brief IOMUXC availability on the SoC. */
71 #define FSL_FEATURE_SOC_IOMUXC_COUNT (1)
72 /* @brief IOMUXC_GPR availability on the SoC. */
73 #define FSL_FEATURE_SOC_IOMUXC_GPR_COUNT (1)
74 /* @brief IOMUXC_SNVS availability on the SoC. */
75 #define FSL_FEATURE_SOC_IOMUXC_SNVS_COUNT (1)
76 /* @brief KPP availability on the SoC. */
77 #define FSL_FEATURE_SOC_KPP_COUNT (1)
78 /* @brief LPI2C availability on the SoC. */
79 #define FSL_FEATURE_SOC_LPI2C_COUNT (4)
80 /* @brief LPSPI availability on the SoC. */
81 #define FSL_FEATURE_SOC_LPSPI_COUNT (4)
82 /* @brief LPUART availability on the SoC. */
83 #define FSL_FEATURE_SOC_LPUART_COUNT (8)
84 /* @brief MPU availability on the SoC. */
85 #define FSL_FEATURE_SOC_MPU_COUNT (1)
86 /* @brief OCOTP availability on the SoC. */
87 #define FSL_FEATURE_SOC_OCOTP_COUNT (1)
88 /* @brief PIT availability on the SoC. */
89 #define FSL_FEATURE_SOC_PIT_COUNT (1)
90 /* @brief PMU availability on the SoC. */
91 #define FSL_FEATURE_SOC_PMU_COUNT (1)
92 /* @brief PWM availability on the SoC. */
93 #define FSL_FEATURE_SOC_PWM_COUNT (2)
94 /* @brief SEMC availability on the SoC. */
95 #define FSL_FEATURE_SOC_SEMC_COUNT (1)
96 /* @brief SNVS availability on the SoC. */
97 #define FSL_FEATURE_SOC_SNVS_COUNT (1)
98 /* @brief SPDIF availability on the SoC. */
99 #define FSL_FEATURE_SOC_SPDIF_COUNT (1)
100 /* @brief SRC availability on the SoC. */
101 #define FSL_FEATURE_SOC_SRC_COUNT (1)
102 /* @brief TEMPMON availability on the SoC. */
103 #define FSL_FEATURE_SOC_TEMPMON_COUNT (1)
104 /* @brief TMR availability on the SoC. */
105 #define FSL_FEATURE_SOC_TMR_COUNT (2)
106 /* @brief TRNG availability on the SoC. */
107 #define FSL_FEATURE_SOC_TRNG_COUNT (1)
108 /* @brief USBHS availability on the SoC. */
109 #define FSL_FEATURE_SOC_USBHS_COUNT (1)
110 /* @brief USBNC availability on the SoC. */
111 #define FSL_FEATURE_SOC_USBNC_COUNT (1)
112 /* @brief USBPHY availability on the SoC. */
113 #define FSL_FEATURE_SOC_USBPHY_COUNT (1)
114 /* @brief USB_ANALOG availability on the SoC. */
115 #define FSL_FEATURE_SOC_USB_ANALOG_COUNT (1)
116 /* @brief USDHC availability on the SoC. */
117 #define FSL_FEATURE_SOC_USDHC_COUNT (2)
118 /* @brief WDOG availability on the SoC. */
119 #define FSL_FEATURE_SOC_WDOG_COUNT (2)
120 /* @brief XBARA availability on the SoC. */
121 #define FSL_FEATURE_SOC_XBARA_COUNT (1)
122 /* @brief XBARB availability on the SoC. */
123 #define FSL_FEATURE_SOC_XBARB_COUNT (1)
124 /* @brief XTALOSC24M availability on the SoC. */
125 #define FSL_FEATURE_SOC_XTALOSC24M_COUNT (1)
126 /* @brief ROM API Availability */
127 #define FSL_FEATURE_BOOT_ROM_HAS_ROMAPI (1)
128 
129 /* ADC module features */
130 
131 /* @brief Remove Hardware Trigger feature. */
132 #define FSL_FEATURE_ADC_SUPPORT_HARDWARE_TRIGGER_REMOVE (0)
133 /* @brief Remove ALT Clock selection feature. */
134 #define FSL_FEATURE_ADC_SUPPORT_ALTCLK_REMOVE (1)
135 /* @brief Conversion control count (related to number of registers HCn and Rn). */
136 #define FSL_FEATURE_ADC_CONVERSION_CONTROL_COUNT (8)
137 
138 /* ADC_ETC module features */
139 
140 /* @brief Has DMA model control(bit field CTRL[DMA_MODE_SEL]). */
141 #define FSL_FEATURE_ADC_ETC_HAS_CTRL_DMA_MODE_SEL (1)
142 /* @brief Has TRIGm_CHAIN_a_b IEn_EN. */
143 #define FSL_FEATURE_ADC_ETC_HAS_TRIGm_CHAIN_a_b_IEn_EN (0)
144 /* @brief Has no TSC0 trigger related bitfields (bit field CTRL[EXT0_TRIG_ENABLE], CTRL[EXT0_TRIG_PRIORITY]). */
145 #define FSL_FEATURE_ADC_ETC_HAS_NO_TSC0_TRIG (1)
146 /* @brief Has no TSC1 trigger related bitfields (bit field CTRL[EXT1_TRIG_ENABLE], CTRL[EXT1_TRIG_PRIORITY]). */
147 #define FSL_FEATURE_ADC_ETC_HAS_NO_TSC1_TRIG (1)
148 
149 /* AOI module features */
150 
151 /* @brief Maximum value of input mux. */
152 #define FSL_FEATURE_AOI_MODULE_INPUTS (4)
153 /* @brief Number of events related to number of registers AOIx_BFCRT01n/AOIx_BFCRT23n. */
154 #define FSL_FEATURE_AOI_EVENT_COUNT (4)
155 
156 /* FLEXCAN module features */
157 
158 /* @brief Has more than 64 MBs. */
159 #define FSL_FEATURE_FLEXCAN_HAS_MORE_THAN_64_MB (0)
160 /* @brief Message buffer size */
161 #define FSL_FEATURE_FLEXCAN_HAS_MESSAGE_BUFFER_MAX_NUMBERn(x) (64)
162 /* @brief Has doze mode support (register bit field MCR[DOZE]). */
163 #define FSL_FEATURE_FLEXCAN_HAS_DOZE_MODE_SUPPORT (0)
164 /* @brief Insatnce has doze mode support (register bit field MCR[DOZE]). */
165 #define FSL_FEATURE_FLEXCAN_INSTANCE_HAS_DOZE_MODE_SUPPORTn(x) (0)
166 /* @brief Has a glitch filter on the receive pin (register bit field MCR[WAKSRC]). */
167 #define FSL_FEATURE_FLEXCAN_HAS_GLITCH_FILTER (1)
168 /* @brief Has extended interrupt mask and flag register (register IMASK2, IFLAG2). */
169 #define FSL_FEATURE_FLEXCAN_HAS_EXTENDED_FLAG_REGISTER (1)
170 /* @brief Instance has extended bit timing register (register CBT). */
171 #define FSL_FEATURE_FLEXCAN_INSTANCE_HAS_EXTENDED_TIMING_REGISTERn(x) (0)
172 /* @brief Has a receive FIFO DMA feature (register bit field MCR[DMA]). */
173 #define FSL_FEATURE_FLEXCAN_HAS_RX_FIFO_DMA (0)
174 /* @brief Instance has a receive FIFO DMA feature (register bit field MCR[DMA]). */
175 #define FSL_FEATURE_FLEXCAN_INSTANCE_HAS_RX_FIFO_DMAn(x) (0)
176 /* @brief Remove CAN Engine Clock Source Selection from unsupported part. */
177 #define FSL_FEATURE_FLEXCAN_SUPPORT_ENGINE_CLK_SEL_REMOVE (1)
178 /* @brief Instance remove CAN Engine Clock Source Selection from unsupported part. */
179 #define FSL_FEATURE_FLEXCAN_INSTANCE_SUPPORT_ENGINE_CLK_SEL_REMOVEn(x) (1)
180 /* @brief Is affected by errata with ID 5641 (Module does not transmit a message that is enabled to be transmitted at a specific moment during the arbitration process). */
181 #define FSL_FEATURE_FLEXCAN_HAS_ERRATA_5641 (0)
182 /* @brief Is affected by errata with ID 5829 (FlexCAN: FlexCAN does not transmit a message that is enabled to be transmitted in a specific moment during the arbitration process). */
183 #define FSL_FEATURE_FLEXCAN_HAS_ERRATA_5829 (1)
184 /* @brief Is affected by errata with ID 6032 (FlexCAN: A frame with wrong ID or payload is transmitted into the CAN bus when the Message Buffer under transmission is either aborted or deactivated while the CAN bus is in the Bus Idle state). */
185 #define FSL_FEATURE_FLEXCAN_HAS_ERRATA_6032 (1)
186 /* @brief Is affected by errata with ID 9595 (FlexCAN: Corrupt frame possible if the Freeze Mode or the Low-Power Mode are entered during a Bus-Off state). */
187 #define FSL_FEATURE_FLEXCAN_HAS_ERRATA_9595 (1)
188 /* @brief Has CAN with Flexible Data rate (CAN FD) protocol. */
189 #define FSL_FEATURE_FLEXCAN_HAS_FLEXIBLE_DATA_RATE (0)
190 /* @brief CAN instance support Flexible Data rate (CAN FD) protocol. */
191 #define FSL_FEATURE_FLEXCAN_INSTANCE_HAS_FLEXIBLE_DATA_RATEn(x) (0)
192 /* @brief Has memory error control (register MECR). */
193 #define FSL_FEATURE_FLEXCAN_HAS_MEMORY_ERROR_CONTROL (0)
194 /* @brief Has enhanced bit timing register (register EPRS, ENCBT, EDCBT and ETDC). */
195 #define FSL_FEATURE_FLEXCAN_HAS_ENHANCED_BIT_TIMING_REG (0)
196 /* @brief Has Pretended Networking mode support. */
197 #define FSL_FEATURE_FLEXCAN_HAS_PN_MODE (0)
198 /* @brief Does not support Supervisor Mode (bitfield MCR[SUPV]. */
199 #define FSL_FEATURE_FLEXCAN_HAS_NO_SUPV_SUPPORT (0)
200 
201 /* CCM module features */
202 
203 /* @brief Is affected by errata with ID 50235 (Incorrect clock setting for CAN affects by LPUART clock gate). */
204 #define FSL_FEATURE_CCM_HAS_ERRATA_50235 (1)
205 
206 /* CMP module features */
207 
208 /* @brief Has Trigger mode in CMP (register bit field CR1[TRIGM]). */
209 #define FSL_FEATURE_CMP_HAS_TRIGGER_MODE (0)
210 /* @brief Has Window mode in CMP (register bit field CR1[WE]). */
211 #define FSL_FEATURE_CMP_HAS_WINDOW_MODE (1)
212 /* @brief Has External sample supported in CMP (register bit field CR1[SE]). */
213 #define FSL_FEATURE_CMP_HAS_EXTERNAL_SAMPLE_SUPPORT (1)
214 /* @brief Has DMA support in CMP (register bit field SCR[DMAEN]). */
215 #define FSL_FEATURE_CMP_HAS_DMA (1)
216 /* @brief Has Pass Through mode in CMP (register bit field MUXCR[PSTM]). */
217 #define FSL_FEATURE_CMP_HAS_PASS_THROUGH_MODE (0)
218 /* @brief Has DAC Test function in CMP (register DACTEST). */
219 #define FSL_FEATURE_CMP_HAS_DAC_TEST (0)
220 /* @brief Has COUTA out of window is zero enable. */
221 #define FSL_FEATURE_CMP_HAS_COWZ_BIT_FIELD (0)
222 /* @brief Use 16 bit registers. */
223 #define FSL_FEATURE_CMP_USE_16BIT_REG (0)
224 
225 /* DCDC module features */
226 
227 /* @brief Has CTRL register (register CTRL0/1). */
228 #define FSL_FEATURE_DCDC_HAS_CTRL_REG (0)
229 /* @brief DCDC VDD output count. */
230 #define FSL_FEATURE_DCDC_VDD_OUTPUT_COUNT (1)
231 /* @brief Has no current alert function (register bit field REG0[CURRENT_ALERT_RESET]). */
232 #define FSL_FEATURE_DCDC_HAS_NO_CURRENT_ALERT_FUNC (0)
233 /* @brief Has switching converter differential mode (register bit field REG1[LOOPCTRL_EN_DF_HYST]). */
234 #define FSL_FEATURE_DCDC_HAS_SWITCHING_CONVERTER_DIFFERENTIAL_MODE (0)
235 /* @brief Has register bit field REG0[REG_DCDC_IN_DET]. */
236 #define FSL_FEATURE_DCDC_HAS_REG0_DCDC_IN_DET (0)
237 /* @brief Has no register bit field REG0[EN_LP_OVERLOAD_SNS]. */
238 #define FSL_FEATURE_DCDC_HAS_NO_REG0_EN_LP_OVERLOAD_SNS (0)
239 /* @brief Has register bit field REG3[REG_FBK_SEL]). */
240 #define FSL_FEATURE_DCDC_HAS_REG3_FBK_SEL (0)
241 
242 /* EDMA module features */
243 
244 /* @brief Number of DMA channels (related to number of registers TCD, DCHPRI, bit fields ERQ[ERQn], EEI[EEIn], INT[INTn], ERR[ERRn], HRS[HRSn] and bit field widths ES[ERRCHN], CEEI[CEEI], SEEI[SEEI], CERQ[CERQ], SERQ[SERQ], CDNE[CDNE], SSRT[SSRT], CERR[CERR], CINT[CINT], TCDn_CITER_ELINKYES[LINKCH], TCDn_CSR[MAJORLINKCH], TCDn_BITER_ELINKYES[LINKCH]). (Valid only for eDMA modules.) */
245 #define FSL_FEATURE_EDMA_MODULE_CHANNEL (32)
246 /* @brief Total number of DMA channels on all modules. */
247 #define FSL_FEATURE_EDMA_DMAMUX_CHANNELS (32)
248 /* @brief Number of DMA channel groups (register bit fields CR[ERGA], CR[GRPnPRI], ES[GPE], DCHPRIn[GRPPRI]). (Valid only for eDMA modules.) */
249 #define FSL_FEATURE_EDMA_CHANNEL_GROUP_COUNT (1)
250 /* @brief Has DMA_Error interrupt vector. */
251 #define FSL_FEATURE_EDMA_HAS_ERROR_IRQ (1)
252 /* @brief Number of DMA channels with asynchronous request capability (register EARS). (Valid only for eDMA modules.) */
253 #define FSL_FEATURE_EDMA_ASYNCHRO_REQUEST_CHANNEL_COUNT (32)
254 /* @brief Channel IRQ entry shared offset. */
255 #define FSL_FEATURE_EDMA_MODULE_CHANNEL_IRQ_ENTRY_SHARED_OFFSET (16)
256 /* @brief If 8 bytes transfer supported. */
257 #define FSL_FEATURE_EDMA_SUPPORT_8_BYTES_TRANSFER (1)
258 /* @brief If 16 bytes transfer supported. */
259 #define FSL_FEATURE_EDMA_SUPPORT_16_BYTES_TRANSFER (0)
260 /* @brief If 32 bytes transfer supported. */
261 #define FSL_FEATURE_EDMA_SUPPORT_32_BYTES_TRANSFER (1)
262 
263 /* DMAMUX module features */
264 
265 /* @brief Number of DMA channels (related to number of register CHCFGn). */
266 #define FSL_FEATURE_DMAMUX_MODULE_CHANNEL (32)
267 /* @brief Total number of DMA channels on all modules. */
268 #define FSL_FEATURE_DMAMUX_DMAMUX_CHANNELS (32)
269 /* @brief Has the periodic trigger capability for the triggered DMA channel (register bit CHCFG0[TRIG]). */
270 #define FSL_FEATURE_DMAMUX_HAS_TRIG (1)
271 /* @brief Has DMA Channel Always ON function (register bit CHCFG0[A_ON]). */
272 #define FSL_FEATURE_DMAMUX_HAS_A_ON (1)
273 /* @brief Register CHCFGn width. */
274 #define FSL_FEATURE_DMAMUX_CHCFG_REGISTER_WIDTH (32)
275 
276 /* ENC module features */
277 
278 /* @brief Has no simultaneous PHASEA and PHASEB change interrupt (register bit field CTRL2[SABIE] and CTRL2[SABIRQ]). */
279 #define FSL_FEATURE_ENC_HAS_NO_CTRL2_SAB_INT (1)
280 /* @brief Has register CTRL3. */
281 #define FSL_FEATURE_ENC_HAS_CTRL3 (0)
282 /* @brief Has register LASTEDGE or LASTEDGEH. */
283 #define FSL_FEATURE_ENC_HAS_LASTEDGE (0)
284 /* @brief Has register POSDPERBFR, POSDPERH, or POSDPER. */
285 #define FSL_FEATURE_ENC_HAS_POSDPER (0)
286 /* @brief Has bitfiled FILT[FILT_PRSC]. */
287 #define FSL_FEATURE_ENC_HAS_FILT_PRSC (1)
288 
289 /* ENET module features */
290 
291 /* @brief Support Interrupt Coalesce */
292 #define FSL_FEATURE_ENET_HAS_INTERRUPT_COALESCE (1)
293 /* @brief Queue Size. */
294 #define FSL_FEATURE_ENET_QUEUE (1)
295 /* @brief Has AVB Support. */
296 #define FSL_FEATURE_ENET_HAS_AVB (0)
297 /* @brief Has Timer Pulse Width control. */
298 #define FSL_FEATURE_ENET_HAS_TIMER_PWCONTROL (1)
299 /* @brief Has Extend MDIO Support. */
300 #define FSL_FEATURE_ENET_HAS_EXTEND_MDIO (1)
301 /* @brief Has Additional 1588 Timer Channel Interrupt. */
302 #define FSL_FEATURE_ENET_HAS_ADD_1588_TIMER_CHN_INT (0)
303 /* @brief Support Interrupt Coalesce for each instance */
304 #define FSL_FEATURE_ENET_INSTANCE_HAS_INTERRUPT_COALESCEn(x) (1)
305 /* @brief Queue Size for each instance. */
306 #define FSL_FEATURE_ENET_INSTANCE_QUEUEn(x) (1)
307 /* @brief Has AVB Support for each instance. */
308 #define FSL_FEATURE_ENET_INSTANCE_HAS_AVBn(x) (0)
309 /* @brief Has Timer Pulse Width control for each instance. */
310 #define FSL_FEATURE_ENET_INSTANCE_HAS_TIMER_PWCONTROLn(x) (1)
311 /* @brief Has Extend MDIO Support for each instance. */
312 #define FSL_FEATURE_ENET_INSTANCE_HAS_EXTEND_MDIOn(x) (1)
313 /* @brief Has Additional 1588 Timer Channel Interrupt for each instance. */
314 #define FSL_FEATURE_ENET_INSTANCE_HAS_ADD_1588_TIMER_CHN_INTn(x) (0)
315 /* @brief Has threshold for the number of frames in the receive FIFO (register bit field RSEM[STAT_SECTION_EMPTY]). */
316 #define FSL_FEATURE_ENET_HAS_RECEIVE_STATUS_THRESHOLD (1)
317 /* @brief Has trasfer clock delay (register bit field ECR[TXC_DLY]). */
318 #define FSL_FEATURE_ENET_HAS_RGMII_TXC_DELAY (0)
319 /* @brief Has receive clock delay (register bit field ECR[RXC_DLY]). */
320 #define FSL_FEATURE_ENET_HAS_RGMII_RXC_DELAY (0)
321 /* @brief PTP Timestamp CAPTURE bit always returns 0 when the capture is not over. */
322 #define FSL_FEATURE_ENET_TIMESTAMP_CAPTURE_BIT_INVALID (0)
323 /* @brief ENET Has Extra Clock Gate.(RW610). */
324 #define FSL_FEATURE_ENET_HAS_EXTRA_CLOCK_GATE (0)
325 
326 /* EWM module features */
327 
328 /* @brief Has clock select (register CLKCTRL). */
329 #define FSL_FEATURE_EWM_HAS_CLOCK_SELECT (1)
330 /* @brief Has clock prescaler (register CLKPRESCALER). */
331 #define FSL_FEATURE_EWM_HAS_PRESCALER (1)
332 
333 /* FLEXIO module features */
334 
335 /* @brief Has Shifter Status Register (FLEXIO_SHIFTSTAT) */
336 #define FSL_FEATURE_FLEXIO_HAS_SHIFTER_STATUS (1)
337 /* @brief Has Pin Data Input Register (FLEXIO_PIN) */
338 #define FSL_FEATURE_FLEXIO_HAS_PIN_STATUS (1)
339 /* @brief Has pin input output related registers */
340 #define FSL_FEATURE_FLEXIO_HAS_PIN_REGISTER (0)
341 /* @brief Has Shifter Buffer N Nibble Byte Swapped Register (FLEXIO_SHIFTBUFNBSn) */
342 #define FSL_FEATURE_FLEXIO_HAS_SHFT_BUFFER_NIBBLE_BYTE_SWAP (1)
343 /* @brief Has Shifter Buffer N Half Word Swapped Register (FLEXIO_SHIFTBUFHWSn) */
344 #define FSL_FEATURE_FLEXIO_HAS_SHFT_BUFFER_HALF_WORD_SWAP (1)
345 /* @brief Has Shifter Buffer N Nibble Swapped Register (FLEXIO_SHIFTBUFNISn) */
346 #define FSL_FEATURE_FLEXIO_HAS_SHFT_BUFFER_NIBBLE_SWAP (1)
347 /* @brief Supports Shifter State Mode (FLEXIO_SHIFTCTLn[SMOD]) */
348 #define FSL_FEATURE_FLEXIO_HAS_STATE_MODE (1)
349 /* @brief Supports Shifter Logic Mode (FLEXIO_SHIFTCTLn[SMOD]) */
350 #define FSL_FEATURE_FLEXIO_HAS_LOGIC_MODE (1)
351 /* @brief Supports paralle width (FLEXIO_SHIFTCFGn[PWIDTH]) */
352 #define FSL_FEATURE_FLEXIO_HAS_PARALLEL_WIDTH (1)
353 /* @brief Reset value of the FLEXIO_VERID register */
354 #define FSL_FEATURE_FLEXIO_VERID_RESET_VALUE (0x1010001)
355 /* @brief Reset value of the FLEXIO_PARAM register */
356 #define FSL_FEATURE_FLEXIO_PARAM_RESET_VALUE (0x2200808)
357 /* @brief Represent the bit width of the TIMDCE field (FLEXIO_TIMCFGLn[TIMDEC]) */
358 #define FSL_FEATURE_FLEXIO_TIMCFG_TIMDCE_FIELD_WIDTH (2)
359 /* @brief Flexio DMA request base channel */
360 #define FSL_FEATURE_FLEXIO_DMA_REQUEST_BASE_CHANNEL (0)
361 
362 /* FLEXRAM module features */
363 
364 /* @brief Bank size */
365 #define FSL_FEATURE_FLEXRAM_INTERNAL_RAM_BANK_SIZE (32768)
366 /* @brief Total Bank numbers */
367 #define FSL_FEATURE_FLEXRAM_INTERNAL_RAM_TOTAL_BANK_NUMBERS (8)
368 /* @brief Has FLEXRAM_MAGIC_ADDR. */
369 #define FSL_FEATURE_FLEXRAM_HAS_MAGIC_ADDR (0)
370 /* @brief If FLEXRAM has ECC function. */
371 #define FSL_FEATURE_FLEXRAM_HAS_ECC (0)
372 /* @brief If FLEXRAM has ECC Error Injection function. */
373 #define FSL_FEATURE_FLEXRAM_HAS_ECC_ERROR_INJECTION (0)
374 
375 /* FLEXSPI module features */
376 
377 /* @brief FlexSPI AHB buffer count */
378 #define FSL_FEATURE_FLEXSPI_AHB_BUFFER_COUNTn(x) (4)
379 /* @brief FlexSPI has no data learn. */
380 #define FSL_FEATURE_FLEXSPI_HAS_NO_DATA_LEARN (1)
381 /* @brief There is AHBBUSERROREN bit in INTEN register. */
382 #define FSL_FEATURE_FLEXSPI_HAS_INTEN_AHBBUSERROREN (0)
383 /* @brief There is CLRAHBTX_RXBUF bit in AHBCR register. */
384 #define FSL_FEATURE_FLEXSPI_HAS_AHBCR_CLRAHBTX_RXBUF (1)
385 /* @brief FLEXSPI has no IP parallel mode. */
386 #define FSL_FEATURE_FLEXSPI_HAS_NO_IP_PARALLEL_MODE (0)
387 /* @brief FLEXSPI has no AHB parallel mode. */
388 #define FSL_FEATURE_FLEXSPI_HAS_NO_AHB_PARALLEL_MODE (0)
389 /* @brief FLEXSPI support address shift. */
390 #define FSL_FEATURE_FLEXSPI_SUPPORT_ADDRESS_SHIFT (0)
391 /* @brief FlexSPI has no MCR0 ARDFEN bit */
392 #define FSL_FEATURE_FLEXSPI_HAS_NO_MCR0_ARDFEN (0)
393 /* @brief FlexSPI has no MCR0 ATDFEN bit */
394 #define FSL_FEATURE_FLEXSPI_HAS_NO_MCR0_ATDFEN (0)
395 /* @brief FlexSPI has no STS0 DATALEARNPHASEB bit */
396 #define FSL_FEATURE_FLEXSPI_HAS_NO_STS0_DATALEARNPHASEB (1)
397 
398 /* GPC module features */
399 
400 /* @brief Has DVFS0 Change Request. */
401 #define FSL_FEATURE_GPC_HAS_CNTR_DVFS0CR (0)
402 /* @brief Has GPC interrupt/event masking. */
403 #define FSL_FEATURE_GPC_HAS_CNTR_GPCIRQM (0)
404 /* @brief Has L2 cache power control. */
405 #define FSL_FEATURE_GPC_HAS_CNTR_L2PGE (0)
406 /* @brief Has FLEXRAM PDRAM0(bank1-7) power control. */
407 #define FSL_FEATURE_GPC_HAS_CNTR_PDRAM0PGE (1)
408 /* @brief Has VADC power control. */
409 #define FSL_FEATURE_GPC_HAS_CNTR_VADC (0)
410 /* @brief Has Display power control. */
411 #define FSL_FEATURE_GPC_HAS_CNTR_DISPLAY (0)
412 /* @brief Supports IRQ 0-31. */
413 #define FSL_FEATURE_GPC_HAS_IRQ_0_31 (1)
414 
415 /* IGPIO module features */
416 
417 /* @brief Has data register set DR_SET. */
418 #define FSL_FEATURE_IGPIO_HAS_DR_SET (1)
419 /* @brief Has data register clear DR_CLEAR. */
420 #define FSL_FEATURE_IGPIO_HAS_DR_CLEAR (1)
421 /* @brief Has data register toggle DR_TOGGLE. */
422 #define FSL_FEATURE_IGPIO_HAS_DR_TOGGLE (1)
423 
424 /* LPI2C module features */
425 
426 /* @brief Has separate DMA RX and TX requests. */
427 #define FSL_FEATURE_LPI2C_HAS_SEPARATE_DMA_RX_TX_REQn(x) (0)
428 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
429 #define FSL_FEATURE_LPI2C_FIFO_SIZEn(x) (4)
430 
431 /* LPSPI module features */
432 
433 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
434 #define FSL_FEATURE_LPSPI_FIFO_SIZEn(x) (16)
435 /* @brief Has separate DMA RX and TX requests. */
436 #define FSL_FEATURE_LPSPI_HAS_SEPARATE_DMA_RX_TX_REQn(x) (1)
437 /* @brief Has CCR1 (related to existence of registers CCR1). */
438 #define FSL_FEATURE_LPSPI_HAS_CCR1 (0)
439 /* @brief Has no PCSCFG bit in CFGR1 register */
440 #define FSL_FEATURE_LPSPI_HAS_NO_PCSCFG (0)
441 /* @brief Has no WIDTH bits in TCR register */
442 #define FSL_FEATURE_LPSPI_HAS_NO_MULTI_WIDTH (0)
443 
444 /* LPUART module features */
445 
446 /* @brief Has receive FIFO overflow detection (bit field CFIFO[RXOFE]). */
447 #define FSL_FEATURE_LPUART_HAS_IRQ_EXTENDED_FUNCTIONS (0)
448 /* @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). */
449 #define FSL_FEATURE_LPUART_HAS_LOW_POWER_UART_SUPPORT (1)
450 /* @brief Has extended data register ED (or extra flags in the DATA register if the registers are 32-bit wide). */
451 #define FSL_FEATURE_LPUART_HAS_EXTENDED_DATA_REGISTER_FLAGS (1)
452 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
453 #define FSL_FEATURE_LPUART_HAS_FIFO (1)
454 /* @brief Has 32-bit register MODIR */
455 #define FSL_FEATURE_LPUART_HAS_MODIR (1)
456 /* @brief Hardware flow control (RTS, CTS) is supported. */
457 #define FSL_FEATURE_LPUART_HAS_MODEM_SUPPORT (1)
458 /* @brief Infrared (modulation) is supported. */
459 #define FSL_FEATURE_LPUART_HAS_IR_SUPPORT (1)
460 /* @brief 2 bits long stop bit is available. */
461 #define FSL_FEATURE_LPUART_HAS_STOP_BIT_CONFIG_SUPPORT (1)
462 /* @brief If 10-bit mode is supported. */
463 #define FSL_FEATURE_LPUART_HAS_10BIT_DATA_SUPPORT (1)
464 /* @brief If 7-bit mode is supported. */
465 #define FSL_FEATURE_LPUART_HAS_7BIT_DATA_SUPPORT (1)
466 /* @brief Baud rate fine adjustment is available. */
467 #define FSL_FEATURE_LPUART_HAS_BAUD_RATE_FINE_ADJUST_SUPPORT (0)
468 /* @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). */
469 #define FSL_FEATURE_LPUART_HAS_BAUD_RATE_OVER_SAMPLING_SUPPORT (1)
470 /* @brief Baud rate oversampling is available. */
471 #define FSL_FEATURE_LPUART_HAS_RX_RESYNC_SUPPORT (1)
472 /* @brief Baud rate oversampling is available. */
473 #define FSL_FEATURE_LPUART_HAS_BOTH_EDGE_SAMPLING_SUPPORT (1)
474 /* @brief Peripheral type. */
475 #define FSL_FEATURE_LPUART_IS_SCI (1)
476 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
477 #define FSL_FEATURE_LPUART_FIFO_SIZEn(x) (4)
478 /* @brief Supports two match addresses to filter incoming frames. */
479 #define FSL_FEATURE_LPUART_HAS_ADDRESS_MATCHING (1)
480 /* @brief Has transmitter/receiver DMA enable bits C5[TDMAE]/C5[RDMAE] (or BAUD[TDMAE]/BAUD[RDMAE] if the registers are 32-bit wide). */
481 #define FSL_FEATURE_LPUART_HAS_DMA_ENABLE (1)
482 /* @brief Has transmitter/receiver DMA select bits C4[TDMAS]/C4[RDMAS], resp. C5[TDMAS]/C5[RDMAS] if IS_SCI = 0. */
483 #define FSL_FEATURE_LPUART_HAS_DMA_SELECT (0)
484 /* @brief Data character bit order selection is supported (bit field S2[MSBF] or STAT[MSBF] if the registers are 32-bit wide). */
485 #define FSL_FEATURE_LPUART_HAS_BIT_ORDER_SELECT (1)
486 /* @brief Has smart card (ISO7816 protocol) support and no improved smart card support. */
487 #define FSL_FEATURE_LPUART_HAS_SMART_CARD_SUPPORT (0)
488 /* @brief Has improved smart card (ISO7816 protocol) support. */
489 #define FSL_FEATURE_LPUART_HAS_IMPROVED_SMART_CARD_SUPPORT (0)
490 /* @brief Has local operation network (CEA709.1-B protocol) support. */
491 #define FSL_FEATURE_LPUART_HAS_LOCAL_OPERATION_NETWORK_SUPPORT (0)
492 /* @brief Has 32-bit registers (BAUD, STAT, CTRL, DATA, MATCH, MODIR) instead of 8-bit (BDH, BDL, C1, S1, D, etc.). */
493 #define FSL_FEATURE_LPUART_HAS_32BIT_REGISTERS (1)
494 /* @brief Lin break detect available (has bit BAUD[LBKDIE]). */
495 #define FSL_FEATURE_LPUART_HAS_LIN_BREAK_DETECT (1)
496 /* @brief UART stops in Wait mode available (has bit C1[UARTSWAI]). */
497 #define FSL_FEATURE_LPUART_HAS_WAIT_MODE_OPERATION (0)
498 /* @brief Has separate DMA RX and TX requests. */
499 #define FSL_FEATURE_LPUART_HAS_SEPARATE_DMA_RX_TX_REQn(x) (1)
500 /* @brief Has separate RX and TX interrupts. */
501 #define FSL_FEATURE_LPUART_HAS_SEPARATE_RX_TX_IRQ (0)
502 /* @brief Has LPAURT_PARAM. */
503 #define FSL_FEATURE_LPUART_HAS_PARAM (1)
504 /* @brief Has LPUART_VERID. */
505 #define FSL_FEATURE_LPUART_HAS_VERID (1)
506 /* @brief Has LPUART_GLOBAL. */
507 #define FSL_FEATURE_LPUART_HAS_GLOBAL (1)
508 /* @brief Has LPUART_PINCFG. */
509 #define FSL_FEATURE_LPUART_HAS_PINCFG (1)
510 /* @brief Has register MODEM Control. */
511 #define FSL_FEATURE_LPUART_HAS_MCR (0)
512 /* @brief Has register Half Duplex Control. */
513 #define FSL_FEATURE_LPUART_HAS_HDCR (0)
514 /* @brief Has register Timeout. */
515 #define FSL_FEATURE_LPUART_HAS_TIMEOUT (0)
516 
517 /* interrupt module features */
518 
519 /* @brief Lowest interrupt request number. */
520 #define FSL_FEATURE_INTERRUPT_IRQ_MIN (-14)
521 /* @brief Highest interrupt request number. */
522 #define FSL_FEATURE_INTERRUPT_IRQ_MAX (141)
523 
524 /* OCOTP module features */
525 
526 /* @brief Has timing control, (register TIMING). */
527 #define FSL_FEATURE_OCOTP_HAS_TIMING_CTRL (1)
528 /* @brief Support lock eFuse word write lock, (CTRL[WORDLOCK]). */
529 #define FSL_FEATURE_OCOTP_HAS_WORDLOCK (0)
530 
531 /* PIT module features */
532 
533 /* @brief Number of channels (related to number of registers LDVALn, CVALn, TCTRLn, TFLGn). */
534 #define FSL_FEATURE_PIT_TIMER_COUNT (4)
535 /* @brief Has lifetime timer (related to existence of registers LTMR64L and LTMR64H). */
536 #define FSL_FEATURE_PIT_HAS_LIFETIME_TIMER (1)
537 /* @brief Has chain mode (related to existence of register bit field TCTRLn[CHN]). */
538 #define FSL_FEATURE_PIT_HAS_CHAIN_MODE (1)
539 /* @brief Has shared interrupt handler (has not individual interrupt handler for each channel). */
540 #define FSL_FEATURE_PIT_HAS_SHARED_IRQ_HANDLER (1)
541 /* @brief Has timer enable control. */
542 #define FSL_FEATURE_PIT_HAS_MDIS (1)
543 
544 /* PWM module features */
545 
546 /* @brief If (e)FlexPWM has module A channels (outputs). */
547 #define FSL_FEATURE_PWM_HAS_CHANNELA (1)
548 /* @brief If (e)FlexPWM has module B channels (outputs). */
549 #define FSL_FEATURE_PWM_HAS_CHANNELB (1)
550 /* @brief If (e)FlexPWM has module X channels (outputs). */
551 #define FSL_FEATURE_PWM_HAS_CHANNELX (1)
552 /* @brief If (e)FlexPWM has fractional feature. */
553 #define FSL_FEATURE_PWM_HAS_FRACTIONAL (1)
554 /* @brief If (e)FlexPWM has mux trigger source select bit field. */
555 #define FSL_FEATURE_PWM_HAS_MUX_TRIGGER_SOURCE_SEL (1)
556 /* @brief Number of submodules in each (e)FlexPWM module. */
557 #define FSL_FEATURE_PWM_SUBMODULE_COUNT (4)
558 /* @brief Number of fault channel in each (e)FlexPWM module. */
559 #define FSL_FEATURE_PWM_FAULT_CH_COUNT (1)
560 /* @brief (e)FlexPWM has no WAITEN Bitfield In CTRL2 Register. */
561 #define FSL_FEATURE_PWM_HAS_NO_WAITEN (1)
562 /* @brief If (e)FlexPWM has phase delay feature. */
563 #define FSL_FEATURE_PWM_HAS_PHASE_DELAY (0)
564 /* @brief If (e)FlexPWM has input filter capture feature. */
565 #define FSL_FEATURE_PWM_HAS_INPUT_FILTER_CAPTURE (0)
566 /* @brief If (e)FlexPWM has module capture functionality on A channels (inputs). */
567 #define FSL_FEATURE_PWM_HAS_CAPTURE_ON_CHANNELA (1)
568 /* @brief If (e)FlexPWM has module capture functionality on B channels (inputs). */
569 #define FSL_FEATURE_PWM_HAS_CAPTURE_ON_CHANNELB (1)
570 /* @brief If (e)FlexPWM has module capture functionality on X channels (inputs). */
571 #define FSL_FEATURE_PWM_HAS_CAPTURE_ON_CHANNELX (1)
572 
573 /* RTWDOG module features */
574 
575 /* @brief Watchdog is available. */
576 #define FSL_FEATURE_RTWDOG_HAS_WATCHDOG (1)
577 /* @brief RTWDOG_CNT can be 32-bit written. */
578 #define FSL_FEATURE_RTWDOG_HAS_32BIT_ACCESS (1)
579 
580 /* SAI module features */
581 
582 /* @brief SAI has FIFO in this soc (register bit fields TCR1[TFW]. */
583 #define FSL_FEATURE_SAI_HAS_FIFO (1)
584 /* @brief Receive/transmit FIFO size in item count (register bit fields TCSR[FRDE], TCSR[FRIE], TCSR[FRF], TCR1[TFW], RCSR[FRDE], RCSR[FRIE], RCSR[FRF], RCR1[RFW], registers TFRn, RFRn). */
585 #define FSL_FEATURE_SAI_FIFO_COUNTn(x) (32)
586 /* @brief Receive/transmit channel number (register bit fields TCR3[TCE], RCR3[RCE], registers TDRn and RDRn). */
587 #define FSL_FEATURE_SAI_CHANNEL_COUNTn(x) \
588     (((x) == SAI1) ? (4) : \
589     (((x) == SAI2) ? (1) : \
590     (((x) == SAI3) ? (1) : (-1))))
591 /* @brief Maximum words per frame (register bit fields TCR3[WDFL], TCR4[FRSZ], TMR[TWM], RCR3[WDFL], RCR4[FRSZ], RMR[RWM]). */
592 #define FSL_FEATURE_SAI_MAX_WORDS_PER_FRAME (32)
593 /* @brief Has support of combining multiple data channel FIFOs into single channel FIFO (register bit fields TCR3[CFR], TCR4[FCOMB], TFR0[WCP], TFR1[WCP], RCR3[CFR], RCR4[FCOMB], RFR0[RCP], RFR1[RCP]). */
594 #define FSL_FEATURE_SAI_HAS_FIFO_COMBINE_MODE (1)
595 /* @brief Has packing of 8-bit and 16-bit data into each 32-bit FIFO word (register bit fields TCR4[FPACK], RCR4[FPACK]). */
596 #define FSL_FEATURE_SAI_HAS_FIFO_PACKING (1)
597 /* @brief Configures when the SAI will continue transmitting after a FIFO error has been detected (register bit fields TCR4[FCONT], RCR4[FCONT]). */
598 #define FSL_FEATURE_SAI_HAS_FIFO_FUNCTION_AFTER_ERROR (1)
599 /* @brief Configures if the frame sync is generated internally, a frame sync is only generated when the FIFO warning flag is clear or continuously (register bit fields TCR4[ONDEM], RCR4[ONDEM]). */
600 #define FSL_FEATURE_SAI_HAS_ON_DEMAND_MODE (1)
601 /* @brief Simplified bit clock source and asynchronous/synchronous mode selection (register bit fields TCR2[CLKMODE], RCR2[CLKMODE]), in comparison with the exclusively implemented TCR2[SYNC,BCS,BCI,MSEL], RCR2[SYNC,BCS,BCI,MSEL]. */
602 #define FSL_FEATURE_SAI_HAS_CLOCKING_MODE (0)
603 /* @brief Has register for configuration of the MCLK divide ratio (register bit fields MDR[FRACT], MDR[DIVIDE]). */
604 #define FSL_FEATURE_SAI_HAS_MCLKDIV_REGISTER (0)
605 /* @brief Interrupt source number */
606 #define FSL_FEATURE_SAI_INT_SOURCE_NUM (2)
607 /* @brief Has register of MCR. */
608 #define FSL_FEATURE_SAI_HAS_MCR (0)
609 /* @brief Has bit field MICS of the MCR register. */
610 #define FSL_FEATURE_SAI_HAS_NO_MCR_MICS (1)
611 /* @brief Has register of MDR */
612 #define FSL_FEATURE_SAI_HAS_MDR (0)
613 /* @brief Has support the BCLK bypass mode when BCLK = MCLK. */
614 #define FSL_FEATURE_SAI_HAS_BCLK_BYPASS (0)
615 /* @brief Has DIV bit fields of MCR register (register bit fields MCR[DIV]. */
616 #define FSL_FEATURE_SAI_HAS_MCR_MCLK_POST_DIV (0)
617 /* @brief Support Channel Mode (register bit fields TCR4[CHMOD]). */
618 #define FSL_FEATURE_SAI_HAS_CHANNEL_MODE (1)
619 /* @brief Support synchronous with another SAI. */
620 #define FSL_FEATURE_SAI_HAS_SYNC_WITH_ANOTHER_SAI (0)
621 
622 /* SEMC module features */
623 
624 /* @brief Has WDH time in NOR controller (register bit field NORCR2[WDH]). */
625 #define FSL_FEATURE_SEMC_HAS_NOR_WDH_TIME (0)
626 /* @brief Has WDS time in NOR controller (register bit field NORCR2[WDS]). */
627 #define FSL_FEATURE_SEMC_HAS_NOR_WDS_TIME (0)
628 /* @brief Has LC time in NOR controller (register bit field NORCR2[LC]). */
629 #define FSL_FEATURE_SEMC_HAS_NOR_LC_TIME (0)
630 /* @brief Has RD time in NOR controller (register bit field NORCR2[RD]). */
631 #define FSL_FEATURE_SEMC_HAS_NOR_RD_TIME (0)
632 /* @brief Has WDH time in SRAM controller (register bit field SRAMCR2[WDH] or SRAMCR6[WDH]). */
633 #define FSL_FEATURE_SEMC_HAS_SRAM_WDH_TIME (0)
634 /* @brief Has WDS time in SRAM controller (register bit field SRAMCR2[WDS] or SRAMCR6[WDS]). */
635 #define FSL_FEATURE_SEMC_HAS_SRAM_WDS_TIME (0)
636 /* @brief Has LC time in SRAM controller (register bit field SRAMCR2[LC] or SRAMCR6[LC]). */
637 #define FSL_FEATURE_SEMC_HAS_SRAM_LC_TIME (0)
638 /* @brief Has RD time in SRAM controller (register bit field SRAMCR2[RD] or SRAMCR6[RD]). */
639 #define FSL_FEATURE_SEMC_HAS_SRAM_RD_TIME (0)
640 /* @brief SRAM count SEMC can support (register BRx). */
641 #define FSL_FEATURE_SEMC_SUPPORT_SRAM_COUNT (1)
642 /* @brief If SEMC support delay chain control (register DCCR). */
643 #define FSL_FEATURE_SEMC_HAS_DELAY_CHAIN_CONTROL (0)
644 /* @brief Has read hold time feature (register bit field SRAMCR2[RDH] or SRAMCR6[RDH]). */
645 #define FSL_FEATURE_SEMC_HAS_SRAM_RDH_TIME (0)
646 /* @brief Has read hold time feature (register bit field SRAMCR0[SYNCEN] or SRAMCR4[SYNCEN]). */
647 #define FSL_FEATURE_SEMC_HAS_SRAM_SYNCEN (0)
648 /* @brief Has read hold time feature (register bit field SRAMCR0[WAITEN] or SRAMCR4[WAITEN]). */
649 #define FSL_FEATURE_SEMC_HAS_SRAM_WAITEN (1)
650 /* @brief Has read hold time feature (register bit field SRAMCR0[WAITSP] or SRAMCR4[WAITSP]). */
651 #define FSL_FEATURE_SEMC_HAS_SRAM_WAITSP (1)
652 /* @brief Has read hold time feature (register bit field SRAMCR0[ADVH] or SRAMCR4[ADVH]). */
653 #define FSL_FEATURE_SEMC_HAS_SRAM_ADVH (0)
654 /* @brief Width of SDRAMCR0[PS] bitfields. */
655 #define FSL_FEATURE_SEMC_SUPPORT_SDRAM_PS_BITWIDTH (1)
656 /* @brief If SEMC has errata 050577. */
657 #define FSL_FEATURE_SEMC_ERRATA_050577 (1)
658 /* @brief If sdram support column address 8 bit (register bit field SRAMCR0[CLO8]). */
659 #define FSL_FEATURE_SEMC_SDRAM_SUPPORT_COLUMN_ADDRESS_8BIT (0)
660 /* @brief If SEMC has register DBICR2 (register DBICR2). */
661 #define FSL_FEATURE_SEMC_HAS_DBICR2 (0)
662 /* @brief SEMC supports hardware ECC on NAND flash interface. */
663 #define FSL_FEATURE_SEMC_HAS_NAND_HW_ECC (0)
664 
665 /* SNVS module features */
666 
667 /* @brief Has Secure Real Time Counter Enabled and Valid (bit field LPCR[SRTC_ENV]). */
668 #define FSL_FEATURE_SNVS_HAS_SRTC (1)
669 /* @brief Has Passive Tamper Filter (regitser LPTGFCR). */
670 #define FSL_FEATURE_SNVS_PASSIVE_TAMPER_FILTER (0)
671 /* @brief Has Active Tampers (regitser LPATCTLR, LPATCLKR, LPATRCnR). */
672 #define FSL_FEATURE_SNVS_HAS_ACTIVE_TAMPERS (0)
673 /* @brief Number of TAMPER. */
674 #define FSL_FEATURE_SNVS_HAS_MULTIPLE_TAMPER (0)
675 
676 /* SRC module features */
677 
678 /* @brief There is MASK_WDOG3_RST bit in SCR register. */
679 #define FSL_FEATURE_SRC_HAS_SCR_MASK_WDOG3_RST (1)
680 /* @brief There is MIX_RST_STRCH bit in SCR register. */
681 #define FSL_FEATURE_SRC_HAS_SCR_MIX_RST_STRCH (0)
682 /* @brief There is DBG_RST_MSK_PG bit in SCR register. */
683 #define FSL_FEATURE_SRC_HAS_SCR_DBG_RST_MSK_PG (1)
684 /* @brief There is WDOG3_RST_OPTN bit in SCR register. */
685 #define FSL_FEATURE_SRC_HAS_SCR_WDOG3_RST_OPTN (0)
686 /* @brief There is CORES_DBG_RST bit in SCR register. */
687 #define FSL_FEATURE_SRC_HAS_SCR_CORES_DBG_RST (0)
688 /* @brief There is MTSR bit in SCR register. */
689 #define FSL_FEATURE_SRC_HAS_SCR_MTSR (0)
690 /* @brief There is CORE0_DBG_RST bit in SCR register. */
691 #define FSL_FEATURE_SRC_HAS_SCR_CORE0_DBG_RST (1)
692 /* @brief There is CORE0_RST bit in SCR register. */
693 #define FSL_FEATURE_SRC_HAS_SCR_CORE0_RST (1)
694 /* @brief There is LOCKUP_RST bit in SCR register. */
695 #define FSL_FEATURE_SRC_HAS_SCR_LOCKUP_RST (1)
696 /* @brief There is SWRC bit in SCR register. */
697 #define FSL_FEATURE_SRC_HAS_SCR_SWRC (0)
698 /* @brief There is EIM_RST bit in SCR register. */
699 #define FSL_FEATURE_SRC_HAS_SCR_EIM_RST (0)
700 /* @brief There is LUEN bit in SCR register. */
701 #define FSL_FEATURE_SRC_HAS_SCR_LUEN (0)
702 /* @brief There is no WRBC bit in SCR register. */
703 #define FSL_FEATURE_SRC_HAS_NO_SCR_WRBC (1)
704 /* @brief There is no WRE bit in SCR register. */
705 #define FSL_FEATURE_SRC_HAS_NO_SCR_WRE (1)
706 /* @brief There is SISR register. */
707 #define FSL_FEATURE_SRC_HAS_SISR (0)
708 /* @brief There is RESET_OUT bit in SRSR register. */
709 #define FSL_FEATURE_SRC_HAS_SRSR_RESET_OUT (0)
710 /* @brief There is WDOG3_RST_B bit in SRSR register. */
711 #define FSL_FEATURE_SRC_HAS_SRSR_WDOG3_RST_B (1)
712 /* @brief There is JTAG_SW_RST bit in SRSR register. */
713 #define FSL_FEATURE_SRC_HAS_SRSR_JTAG_SW_RST (1)
714 /* @brief There is SW bit in SRSR register. */
715 #define FSL_FEATURE_SRC_HAS_SRSR_SW (0)
716 /* @brief There is IPP_USER_RESET_B bit in SRSR register. */
717 #define FSL_FEATURE_SRC_HAS_SRSR_IPP_USER_RESET_B (1)
718 /* @brief There is SNVS bit in SRSR register. */
719 #define FSL_FEATURE_SRC_HAS_SRSR_SNVS (0)
720 /* @brief There is CSU_RESET_B bit in SRSR register. */
721 #define FSL_FEATURE_SRC_HAS_SRSR_CSU_RESET_B (1)
722 /* @brief There is LOCKUP bit in SRSR register. */
723 #define FSL_FEATURE_SRC_HAS_SRSR_LOCKUP (1)
724 /* @brief There is LOCKUP_SYSRESETREQ bit in SRSR register. */
725 #define FSL_FEATURE_SRC_HAS_SRSR_LOCKUP_SYSRESETREQ (0)
726 /* @brief There is POR bit in SRSR register. */
727 #define FSL_FEATURE_SRC_HAS_SRSR_POR (0)
728 /* @brief There is IPP_RESET_B bit in SRSR register. */
729 #define FSL_FEATURE_SRC_HAS_SRSR_IPP_RESET_B (1)
730 /* @brief There is no WBI bit in SCR register. */
731 #define FSL_FEATURE_SRC_HAS_NO_SRSR_WBI (1)
732 
733 /* SCB module features */
734 
735 /* @brief L1 ICACHE line size in byte. */
736 #define FSL_FEATURE_L1ICACHE_LINESIZE_BYTE (32)
737 /* @brief L1 DCACHE line size in byte. */
738 #define FSL_FEATURE_L1DCACHE_LINESIZE_BYTE (32)
739 
740 /* TRNG module features */
741 
742 /* @brief TRNG has no TRNG_ACC bitfield. */
743 #define FSL_FEATURE_TRNG_HAS_NO_TRNG_ACC (1)
744 
745 /* USBHS module features */
746 
747 /* @brief EHCI module instance count */
748 #define FSL_FEATURE_USBHS_EHCI_COUNT (1)
749 /* @brief Number of endpoints supported */
750 #define FSL_FEATURE_USBHS_ENDPT_COUNT (8)
751 
752 /* USBPHY module features */
753 
754 /* @brief USBPHY contain DCD analog module */
755 #define FSL_FEATURE_USBPHY_HAS_DCD_ANALOG (0)
756 /* @brief USBPHY has register TRIM_OVERRIDE_EN */
757 #define FSL_FEATURE_USBPHY_HAS_TRIM_OVERRIDE_EN (0)
758 /* @brief USBPHY is 28FDSOI */
759 #define FSL_FEATURE_USBPHY_28FDSOI (0)
760 
761 /* USDHC module features */
762 
763 /* @brief Has external DMA support (VEND_SPEC[EXT_DMA_EN]) */
764 #define FSL_FEATURE_USDHC_HAS_EXT_DMA (0)
765 /* @brief Has HS400 mode (MIX_CTRL[HS400_MODE]) */
766 #define FSL_FEATURE_USDHC_HAS_HS400_MODE (0)
767 /* @brief Has SDR50 support (HOST_CTRL_CAP[SDR50_SUPPORT]) */
768 #define FSL_FEATURE_USDHC_HAS_SDR50_MODE (1)
769 /* @brief Has SDR104 support (HOST_CTRL_CAP[SDR104_SUPPORT]) */
770 #define FSL_FEATURE_USDHC_HAS_SDR104_MODE (1)
771 /* @brief USDHC has reset control */
772 #define FSL_FEATURE_USDHC_HAS_RESET (0)
773 /* @brief USDHC has no bitfield WTMK_LVL[WR_BRST_LEN] and WTMK_LVL[RD_BRST_LEN] */
774 #define FSL_FEATURE_USDHC_HAS_NO_RW_BURST_LEN (0)
775 /* @brief If USDHC instance support 8 bit width */
776 #define FSL_FEATURE_USDHC_INSTANCE_SUPPORT_8_BIT_WIDTHn(x) \
777     (((x) == USDHC1) ? (0) : \
778     (((x) == USDHC2) ? (1) : (-1)))
779 /* @brief If USDHC instance support HS400 mode */
780 #define FSL_FEATURE_USDHC_INSTANCE_SUPPORT_HS400_MODEn(x) (0)
781 /* @brief If USDHC instance support 1v8 signal */
782 #define FSL_FEATURE_USDHC_INSTANCE_SUPPORT_1V8_SIGNALn(x) \
783     (((x) == USDHC1) ? (1) : \
784     (((x) == USDHC2) ? (0) : (-1)))
785 /* @brief Has no retuning time counter (HOST_CTRL_CAP[TIME_COUNT_RETURNING]) */
786 #define FSL_FEATURE_USDHC_REGISTER_HOST_CTRL_CAP_HAS_NO_RETUNING_TIME_COUNTER (1)
787 /* @brief Has no VSELECT bit in VEND_SPEC register */
788 #define FSL_FEATURE_USDHC_HAS_NO_VOLTAGE_SELECT (0)
789 /* @brief Has no VS18 bit in HOST_CTRL_CAP register */
790 #define FSL_FEATURE_USDHC_HAS_NO_VS18 (0)
791 
792 /* XBARA module features */
793 
794 /* @brief Number of interrupt requests. */
795 #define FSL_FEATURE_XBARA_INTERRUPT_COUNT (4)
796 
797 #endif /* _MIMXRT1024_FEATURES_H_ */
798 
799