1 /*
2 ** ###################################################################
3 **     Version:             rev. 1.0, 2020-12-29
4 **     Build:               b210427
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. 0.1 (2018-03-05)
20 **         Initial version.
21 **     - rev. 1.0 (2020-12-29)
22 **         Update feature files to align with IMXRT1170RM Rev.0.
23 **
24 ** ###################################################################
25 */
26 
27 #ifndef _MIMXRT1176_cm7_FEATURES_H_
28 #define _MIMXRT1176_cm7_FEATURES_H_
29 
30 /* SOC module features */
31 
32 /* @brief ACMP availability on the SoC. */
33 #define FSL_FEATURE_SOC_ACMP_COUNT (4)
34 /* @brief AOI availability on the SoC. */
35 #define FSL_FEATURE_SOC_AOI_COUNT (2)
36 /* @brief ASRC availability on the SoC. */
37 #define FSL_FEATURE_SOC_ASRC_COUNT (1)
38 /* @brief CAAM availability on the SoC. */
39 #define FSL_FEATURE_SOC_CAAM_COUNT (1)
40 /* @brief CCM availability on the SoC. */
41 #define FSL_FEATURE_SOC_CCM_COUNT (1)
42 /* @brief CSI availability on the SoC. */
43 #define FSL_FEATURE_SOC_CSI_COUNT (1)
44 /* @brief CDOG availability on the SoC. */
45 #define FSL_FEATURE_SOC_CDOG_COUNT (1)
46 /* @brief DAC availability on the SoC. */
47 #define FSL_FEATURE_SOC_DAC_COUNT (1)
48 /* @brief DCDC availability on the SoC. */
49 #define FSL_FEATURE_SOC_DCDC_COUNT (1)
50 /* @brief DMAMUX availability on the SoC. */
51 #define FSL_FEATURE_SOC_DMAMUX_COUNT (1)
52 /* @brief EDMA availability on the SoC. */
53 #define FSL_FEATURE_SOC_EDMA_COUNT (1)
54 /* @brief EMVSIM availability on the SoC. */
55 #define FSL_FEATURE_SOC_EMVSIM_COUNT (2)
56 /* @brief ENC availability on the SoC. */
57 #define FSL_FEATURE_SOC_ENC_COUNT (4)
58 /* @brief ENET availability on the SoC. */
59 #define FSL_FEATURE_SOC_ENET_COUNT (2)
60 /* @brief ENET_QOS availability on the SoC. */
61 #define FSL_FEATURE_SOC_ENET_QOS_COUNT (1)
62 /* @brief EWM availability on the SoC. */
63 #define FSL_FEATURE_SOC_EWM_COUNT (1)
64 /* @brief FLEXCAN availability on the SoC. */
65 #define FSL_FEATURE_SOC_FLEXCAN_COUNT (3)
66 /* @brief FLEXIO availability on the SoC. */
67 #define FSL_FEATURE_SOC_FLEXIO_COUNT (2)
68 /* @brief FLEXRAM availability on the SoC. */
69 #define FSL_FEATURE_SOC_FLEXRAM_COUNT (1)
70 /* @brief FLEXSPI availability on the SoC. */
71 #define FSL_FEATURE_SOC_FLEXSPI_COUNT (2)
72 /* @brief GPT availability on the SoC. */
73 #define FSL_FEATURE_SOC_GPT_COUNT (6)
74 /* @brief I2S availability on the SoC. */
75 #define FSL_FEATURE_SOC_I2S_COUNT (4)
76 /* @brief IEE availability on the SoC. */
77 #define FSL_FEATURE_SOC_IEE_COUNT (1)
78 /* @brief IGPIO availability on the SoC. */
79 #define FSL_FEATURE_SOC_IGPIO_COUNT (15)
80 /* @brief IOMUXC availability on the SoC. */
81 #define FSL_FEATURE_SOC_IOMUXC_COUNT (1)
82 /* @brief IOMUXC_LPSR availability on the SoC. */
83 #define FSL_FEATURE_SOC_IOMUXC_LPSR_COUNT (1)
84 /* @brief KPP availability on the SoC. */
85 #define FSL_FEATURE_SOC_KPP_COUNT (1)
86 /* @brief LCDIF availability on the SoC. */
87 #define FSL_FEATURE_SOC_LCDIF_COUNT (1)
88 /* @brief LPADC availability on the SoC. */
89 #define FSL_FEATURE_SOC_LPADC_COUNT (2)
90 /* @brief LPI2C availability on the SoC. */
91 #define FSL_FEATURE_SOC_LPI2C_COUNT (6)
92 /* @brief LPSPI availability on the SoC. */
93 #define FSL_FEATURE_SOC_LPSPI_COUNT (6)
94 /* @brief LPUART availability on the SoC. */
95 #define FSL_FEATURE_SOC_LPUART_COUNT (12)
96 /* @brief MCM availability on the SoC. */
97 #define FSL_FEATURE_SOC_MCM_COUNT (1)
98 /* @brief MU availability on the SoC. */
99 #define FSL_FEATURE_SOC_MU_COUNT (1)
100 /* @brief OCOTP availability on the SoC. */
101 #define FSL_FEATURE_SOC_OCOTP_COUNT (1)
102 /* @brief OTFAD availability on the SoC. */
103 #define FSL_FEATURE_SOC_OTFAD_COUNT (2)
104 /* @brief PDM availability on the SoC. */
105 #define FSL_FEATURE_SOC_PDM_COUNT (1)
106 /* @brief PIT availability on the SoC. */
107 #define FSL_FEATURE_SOC_PIT_COUNT (2)
108 /* @brief PWM availability on the SoC. */
109 #define FSL_FEATURE_SOC_PWM_COUNT (4)
110 /* @brief PXP availability on the SoC. */
111 #define FSL_FEATURE_SOC_PXP_COUNT (1)
112 /* @brief PUF availability on the SoC. */
113 #define FSL_FEATURE_SOC_PUF_COUNT (1)
114 /* @brief RDC availability on the SoC. */
115 #define FSL_FEATURE_SOC_RDC_COUNT (1)
116 /* @brief RDC_SEMAPHORE availability on the SoC. */
117 #define FSL_FEATURE_SOC_RDC_SEMAPHORE_COUNT (2)
118 /* @brief SEMA4 availability on the SoC. */
119 #define FSL_FEATURE_SOC_SEMA4_COUNT (1)
120 /* @brief SEMC availability on the SoC. */
121 #define FSL_FEATURE_SOC_SEMC_COUNT (1)
122 /* @brief SNVS availability on the SoC. */
123 #define FSL_FEATURE_SOC_SNVS_COUNT (1)
124 /* @brief SPDIF availability on the SoC. */
125 #define FSL_FEATURE_SOC_SPDIF_COUNT (1)
126 /* @brief SRC availability on the SoC. */
127 #define FSL_FEATURE_SOC_SRC_COUNT (1)
128 /* @brief TMR availability on the SoC. */
129 #define FSL_FEATURE_SOC_TMR_COUNT (4)
130 /* @brief USBHS availability on the SoC. */
131 #define FSL_FEATURE_SOC_USBHS_COUNT (2)
132 /* @brief USBHSDCD availability on the SoC. */
133 #define FSL_FEATURE_SOC_USBHSDCD_COUNT (2)
134 /* @brief USBNC availability on the SoC. */
135 #define FSL_FEATURE_SOC_USBNC_COUNT (2)
136 /* @brief USBPHY availability on the SoC. */
137 #define FSL_FEATURE_SOC_USBPHY_COUNT (2)
138 /* @brief USDHC availability on the SoC. */
139 #define FSL_FEATURE_SOC_USDHC_COUNT (2)
140 /* @brief WDOG availability on the SoC. */
141 #define FSL_FEATURE_SOC_WDOG_COUNT (2)
142 /* @brief XBARA availability on the SoC. */
143 #define FSL_FEATURE_SOC_XBARA_COUNT (1)
144 /* @brief XBARB availability on the SoC. */
145 #define FSL_FEATURE_SOC_XBARB_COUNT (2)
146 /* @brief ROM API Availability */
147 #define FSL_FEATURE_BOOT_ROM_HAS_ROMAPI (1)
148 
149 /* ADC_ETC module features */
150 
151 /* @brief Has DMA model control(bit field CTRL[DMA_MODE_SEL]). */
152 #define FSL_FEATURE_ADC_ETC_HAS_CTRL_DMA_MODE_SEL (1)
153 /* @brief Has TRIGm_CHAIN_a_b IEn_EN. */
154 #define FSL_FEATURE_ADC_ETC_HAS_TRIGm_CHAIN_a_b_IEn_EN (1)
155 /* @brief Has no TSC0 trigger related bitfields (bit field CTRL[EXT0_TRIG_ENABLE], CTRL[EXT0_TRIG_PRIORITY]). */
156 #define FSL_FEATURE_ADC_ETC_HAS_NO_TSC0_TRIG (1)
157 /* @brief Has no TSC1 trigger related bitfields (bit field CTRL[EXT1_TRIG_ENABLE], CTRL[EXT1_TRIG_PRIORITY]). */
158 #define FSL_FEATURE_ADC_ETC_HAS_NO_TSC1_TRIG (1)
159 
160 /* AOI module features */
161 
162 /* @brief Maximum value of input mux. */
163 #define FSL_FEATURE_AOI_MODULE_INPUTS (4)
164 /* @brief Number of events related to number of registers AOIx_BFCRT01n/AOIx_BFCRT23n. */
165 #define FSL_FEATURE_AOI_EVENT_COUNT (4)
166 
167 /* ASRC module features */
168 
169 /* @brief Register name is ASPRM or ASPRMn */
170 #define FSL_FEATURE_ASRC_PARAMETER_REGISTER_NAME_ASPRM (1)
171 
172 /* AUDIO_PLL module features */
173 
174 /* No feature definitions */
175 
176 /* FLEXCAN module features */
177 
178 /* @brief Message buffer size */
179 #define FSL_FEATURE_FLEXCAN_HAS_MESSAGE_BUFFER_MAX_NUMBERn(x) (64)
180 /* @brief Has doze mode support (register bit field MCR[DOZE]). */
181 #define FSL_FEATURE_FLEXCAN_HAS_DOZE_MODE_SUPPORT (1)
182 /* @brief Insatnce has doze mode support (register bit field MCR[DOZE]). */
183 #define FSL_FEATURE_FLEXCAN_INSTANCE_HAS_DOZE_MODE_SUPPORTn(x) (1)
184 /* @brief Has a glitch filter on the receive pin (register bit field MCR[WAKSRC]). */
185 #define FSL_FEATURE_FLEXCAN_HAS_GLITCH_FILTER (1)
186 /* @brief Has extended interrupt mask and flag register (register IMASK2, IFLAG2). */
187 #define FSL_FEATURE_FLEXCAN_HAS_EXTENDED_FLAG_REGISTER (1)
188 /* @brief Instance has extended bit timing register (register CBT). */
189 #define FSL_FEATURE_FLEXCAN_INSTANCE_HAS_EXTENDED_TIMING_REGISTERn(x) (1)
190 /* @brief Has a receive FIFO DMA feature (register bit field MCR[DMA]). */
191 #define FSL_FEATURE_FLEXCAN_HAS_RX_FIFO_DMA (1)
192 /* @brief Instance has a receive FIFO DMA feature (register bit field MCR[DMA]). */
193 #define FSL_FEATURE_FLEXCAN_INSTANCE_HAS_RX_FIFO_DMAn(x) (1)
194 /* @brief Remove CAN Engine Clock Source Selection from unsupported part. */
195 #define FSL_FEATURE_FLEXCAN_SUPPORT_ENGINE_CLK_SEL_REMOVE (0)
196 /* @brief Instance remove CAN Engine Clock Source Selection from unsupported part. */
197 #define FSL_FEATURE_FLEXCAN_INSTANCE_SUPPORT_ENGINE_CLK_SEL_REMOVEn(x) (0)
198 /* @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). */
199 #define FSL_FEATURE_FLEXCAN_HAS_ERRATA_5641 (0)
200 /* @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). */
201 #define FSL_FEATURE_FLEXCAN_HAS_ERRATA_5829 (0)
202 /* @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). */
203 #define FSL_FEATURE_FLEXCAN_HAS_ERRATA_6032 (0)
204 /* @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). */
205 #define FSL_FEATURE_FLEXCAN_HAS_ERRATA_9595 (0)
206 /* @brief Has CAN with Flexible Data rate (CAN FD) protocol. */
207 #define FSL_FEATURE_FLEXCAN_HAS_FLEXIBLE_DATA_RATE (1)
208 /* @brief CAN instance support Flexible Data rate (CAN FD) protocol. */
209 #define FSL_FEATURE_FLEXCAN_INSTANCE_HAS_FLEXIBLE_DATA_RATEn(x) (1)
210 /* @brief Has extra MB interrupt or common one. */
211 #define FSL_FEATURE_FLEXCAN_HAS_EXTRA_MB_INT (1)
212 /* @brief Has memory error control (register MECR). */
213 #define FSL_FEATURE_FLEXCAN_HAS_MEMORY_ERROR_CONTROL (1)
214 /* @brief Init memory base 1 */
215 #define FSL_FEATURE_FLEXCAN_INIT_MEMORY_BASE_1 (0x80)
216 /* @brief Init memory size 1 */
217 #define FSL_FEATURE_FLEXCAN_INIT_MEMORY_SIZE_1 (0xA60)
218 /* @brief Init memory base 2 */
219 #define FSL_FEATURE_FLEXCAN_INIT_MEMORY_BASE_2 (0xF28)
220 /* @brief Init memory size 2 */
221 #define FSL_FEATURE_FLEXCAN_INIT_MEMORY_SIZE_2 (0xD8)
222 
223 /* CCM module features */
224 
225 /* @brief Is affected by errata with ID 50235 (Incorrect clock setting for CAN affects by LPUART clock gate). */
226 #define FSL_FEATURE_CCM_HAS_ERRATA_50235 (0)
227 
228 /* CDOG module features */
229 
230 /* @brief SOC has no reset driver. */
231 #define FSL_FEATURE_CDOG_HAS_NO_RESET (1)
232 
233 /* IGPIO module features */
234 
235 /* @brief Has data register set DR_SET. */
236 #define FSL_FEATURE_IGPIO_HAS_DR_SET (1)
237 /* @brief Has data register clear DR_CLEAR. */
238 #define FSL_FEATURE_IGPIO_HAS_DR_CLEAR (1)
239 /* @brief Has data register toggle DR_TOGGLE. */
240 #define FSL_FEATURE_IGPIO_HAS_DR_TOGGLE (1)
241 
242 /* ACMP module features */
243 
244 /* @brief Has CMP_C3. */
245 #define FSL_FEATURE_ACMP_HAS_C3_REG (1)
246 /* @brief Has C0 LINKEN Bit */
247 #define FSL_FEATURE_ACMP_HAS_C0_LINKEN_BIT (1)
248 /* @brief Has C0 OFFSET Bit */
249 #define FSL_FEATURE_ACMP_HAS_C0_OFFSET_BIT (0)
250 /* @brief Has C1 INPSEL Bit */
251 #define FSL_FEATURE_ACMP_HAS_C1_INPSEL_BIT (0)
252 /* @brief Has C1 INNSEL Bit */
253 #define FSL_FEATURE_ACMP_HAS_C1_INNSEL_BIT (0)
254 /* @brief Has C1 DACOE Bit */
255 #define FSL_FEATURE_ACMP_HAS_C1_DACOE_BIT (0)
256 /* @brief Has C1 DMODE Bit */
257 #define FSL_FEATURE_ACMP_HAS_C1_DMODE_BIT (1)
258 /* @brief Has C2 RRE Bit */
259 #define FSL_FEATURE_ACMP_HAS_C2_RRE_BIT (0)
260 
261 /* CSI module features */
262 
263 /* @brief If CSI registers don't have prefix. */
264 #define FSL_FEATURE_CSI_NO_REG_PREFIX (1)
265 
266 /* DAC12 module features */
267 
268 /* @brief Has no ITRM register. */
269 #define FSL_FEATURE_DAC12_HAS_NO_ITRM_REGISTER (1)
270 
271 /* DCDC module features */
272 
273 /* @brief Has CTRL register (register CTRL0/1). */
274 #define FSL_FEATURE_DCDC_HAS_CTRL_REG (1)
275 /* @brief DCDC VDD output count. */
276 #define FSL_FEATURE_DCDC_VDD_OUTPUT_COUNT (2)
277 /* @brief Has no current alert function (register bit field REG0[CURRENT_ALERT_RESET]). */
278 #define FSL_FEATURE_DCDC_HAS_NO_CURRENT_ALERT_FUNC (1)
279 /* @brief Has switching converter differential mode (register bit field REG1[LOOPCTRL_EN_DF_HYST]). */
280 #define FSL_FEATURE_DCDC_HAS_SWITCHING_CONVERTER_DIFFERENTIAL_MODE (1)
281 /* @brief Has register bit field REG0[REG_DCDC_IN_DET]. */
282 #define FSL_FEATURE_DCDC_HAS_REG0_DCDC_IN_DET (1)
283 /* @brief Has no register bit field REG0[EN_LP_OVERLOAD_SNS]. */
284 #define FSL_FEATURE_DCDC_HAS_NO_REG0_EN_LP_OVERLOAD_SNS (1)
285 /* @brief Has register bit field REG3[REG_FBK_SEL]). */
286 #define FSL_FEATURE_DCDC_HAS_REG3_FBK_SEL (1)
287 
288 /* EDMA module features */
289 
290 /* @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.) */
291 #define FSL_FEATURE_EDMA_MODULE_CHANNEL (32)
292 /* @brief Total number of DMA channels on all modules. */
293 #define FSL_FEATURE_EDMA_DMAMUX_CHANNELS (32)
294 /* @brief Number of DMA channel groups (register bit fields CR[ERGA], CR[GRPnPRI], ES[GPE], DCHPRIn[GRPPRI]). (Valid only for eDMA modules.) */
295 #define FSL_FEATURE_EDMA_CHANNEL_GROUP_COUNT (1)
296 /* @brief Has DMA_Error interrupt vector. */
297 #define FSL_FEATURE_EDMA_HAS_ERROR_IRQ (1)
298 /* @brief Number of DMA channels with asynchronous request capability (register EARS). (Valid only for eDMA modules.) */
299 #define FSL_FEATURE_EDMA_ASYNCHRO_REQUEST_CHANNEL_COUNT (32)
300 /* @brief Channel IRQ entry shared offset. */
301 #define FSL_FEATURE_EDMA_MODULE_CHANNEL_IRQ_ENTRY_SHARED_OFFSET (16)
302 /* @brief If 8 bytes transfer supported. */
303 #define FSL_FEATURE_EDMA_SUPPORT_8_BYTES_TRANSFER (1)
304 /* @brief If 16 bytes transfer supported. */
305 #define FSL_FEATURE_EDMA_SUPPORT_16_BYTES_TRANSFER (0)
306 /* @brief If 32 bytes transfer supported. */
307 #define FSL_FEATURE_EDMA_SUPPORT_32_BYTES_TRANSFER (1)
308 
309 /* DMAMUX module features */
310 
311 /* @brief Number of DMA channels (related to number of register CHCFGn). */
312 #define FSL_FEATURE_DMAMUX_MODULE_CHANNEL (32)
313 /* @brief Total number of DMA channels on all modules. */
314 #define FSL_FEATURE_DMAMUX_DMAMUX_CHANNELS (64)
315 /* @brief Has the periodic trigger capability for the triggered DMA channel (register bit CHCFG0[TRIG]). */
316 #define FSL_FEATURE_DMAMUX_HAS_TRIG (1)
317 /* @brief Has DMA Channel Always ON function (register bit CHCFG0[A_ON]). */
318 #define FSL_FEATURE_DMAMUX_HAS_A_ON (1)
319 /* @brief Register CHCFGn width. */
320 #define FSL_FEATURE_DMAMUX_CHCFG_REGISTER_WIDTH (32)
321 
322 /* DSI_HOST module features */
323 
324 /* @brief Has separate submodules */
325 #define FSL_FEATURE_MIPI_DSI_HAS_SEPARATE_SUBMODULE (1)
326 
327 /* ENET module features */
328 
329 /* @brief Support Interrupt Coalesce */
330 #define FSL_FEATURE_ENET_HAS_INTERRUPT_COALESCE (1)
331 /* @brief Queue Size. */
332 #define FSL_FEATURE_ENET_QUEUE (3)
333 /* @brief Has AVB Support. */
334 #define FSL_FEATURE_ENET_HAS_AVB (1)
335 /* @brief Has Timer Pulse Width control. */
336 #define FSL_FEATURE_ENET_HAS_TIMER_PWCONTROL (1)
337 /* @brief Has Extend MDIO Support. */
338 #define FSL_FEATURE_ENET_HAS_EXTEND_MDIO (1)
339 /* @brief Has Additional 1588 Timer Channel Interrupt. */
340 #define FSL_FEATURE_ENET_HAS_ADD_1588_TIMER_CHN_INT (1)
341 /* @brief Support Interrupt Coalesce for each instance */
342 #define FSL_FEATURE_ENET_INSTANCE_HAS_INTERRUPT_COALESCEn(x) (0)
343 /* @brief Queue Size for each instance. */
344 #define FSL_FEATURE_ENET_INSTANCE_QUEUEn(x) \
345     (((x) == ENET) ? (1) : \
346     (((x) == ENET_1G) ? (3) : (-1)))
347 /* @brief Has AVB Support for each instance. */
348 #define FSL_FEATURE_ENET_INSTANCE_HAS_AVBn(x) \
349     (((x) == ENET) ? (0) : \
350     (((x) == ENET_1G) ? (1) : (-1)))
351 /* @brief Has Timer Pulse Width control for each instance. */
352 #define FSL_FEATURE_ENET_INSTANCE_HAS_TIMER_PWCONTROLn(x) \
353     (((x) == ENET) ? (1) : \
354     (((x) == ENET_1G) ? (0) : (-1)))
355 /* @brief Has Extend MDIO Support for each instance. */
356 #define FSL_FEATURE_ENET_INSTANCE_HAS_EXTEND_MDIOn(x) (1)
357 /* @brief Has Additional 1588 Timer Channel Interrupt for each instance. */
358 #define FSL_FEATURE_ENET_INSTANCE_HAS_ADD_1588_TIMER_CHN_INTn(x) (1)
359 /* @brief Has threshold for the number of frames in the receive FIFO (register bit field RSEM[STAT_SECTION_EMPTY]). */
360 #define FSL_FEATURE_ENET_HAS_RECEIVE_STATUS_THRESHOLD (1)
361 /* @brief Has trasfer clock delay (register bit field ECR[TXC_DLY]). */
362 #define FSL_FEATURE_ENET_HAS_RGMII_TXC_DELAY (1)
363 /* @brief Has receive clock delay (register bit field ECR[RXC_DLY]). */
364 #define FSL_FEATURE_ENET_HAS_RGMII_RXC_DELAY (0)
365 /* @brief PTP Timestamp CAPTURE bit always returns 0 when the capture is not over. */
366 #define FSL_FEATURE_ENET_TIMESTAMP_CAPTURE_BIT_INVALID (0)
367 
368 /* ENET_QOS module features */
369 
370 /* No feature definitions */
371 
372 /* ENET_PLL module features */
373 
374 /* No feature definitions */
375 
376 /* EWM module features */
377 
378 /* @brief Has clock select (register CLKCTRL). */
379 #define FSL_FEATURE_EWM_HAS_CLOCK_SELECT (1)
380 /* @brief Has clock prescaler (register CLKPRESCALER). */
381 #define FSL_FEATURE_EWM_HAS_PRESCALER (1)
382 
383 /* FLEXIO module features */
384 
385 /* @brief Has Shifter Status Register (FLEXIO_SHIFTSTAT) */
386 #define FSL_FEATURE_FLEXIO_HAS_SHIFTER_STATUS (1)
387 /* @brief Has Pin Data Input Register (FLEXIO_PIN) */
388 #define FSL_FEATURE_FLEXIO_HAS_PIN_STATUS (1)
389 /* @brief Has Shifter Buffer N Nibble Byte Swapped Register (FLEXIO_SHIFTBUFNBSn) */
390 #define FSL_FEATURE_FLEXIO_HAS_SHFT_BUFFER_NIBBLE_BYTE_SWAP (1)
391 /* @brief Has Shifter Buffer N Half Word Swapped Register (FLEXIO_SHIFTBUFHWSn) */
392 #define FSL_FEATURE_FLEXIO_HAS_SHFT_BUFFER_HALF_WORD_SWAP (1)
393 /* @brief Has Shifter Buffer N Nibble Swapped Register (FLEXIO_SHIFTBUFNISn) */
394 #define FSL_FEATURE_FLEXIO_HAS_SHFT_BUFFER_NIBBLE_SWAP (1)
395 /* @brief Supports Shifter State Mode (FLEXIO_SHIFTCTLn[SMOD]) */
396 #define FSL_FEATURE_FLEXIO_HAS_STATE_MODE (1)
397 /* @brief Supports Shifter Logic Mode (FLEXIO_SHIFTCTLn[SMOD]) */
398 #define FSL_FEATURE_FLEXIO_HAS_LOGIC_MODE (1)
399 /* @brief Supports paralle width (FLEXIO_SHIFTCFGn[PWIDTH]) */
400 #define FSL_FEATURE_FLEXIO_HAS_PARALLEL_WIDTH (1)
401 /* @brief Reset value of the FLEXIO_VERID register */
402 #define FSL_FEATURE_FLEXIO_VERID_RESET_VALUE (0x2000001)
403 /* @brief Reset value of the FLEXIO_PARAM register */
404 #define FSL_FEATURE_FLEXIO_PARAM_RESET_VALUE (0x2200808)
405 /* @brief Flexio DMA request base channel */
406 #define FSL_FEATURE_FLEXIO_DMA_REQUEST_BASE_CHANNEL (0)
407 
408 /* FLEXRAM module features */
409 
410 /* @brief Bank size */
411 #define FSL_FEATURE_FLEXRAM_INTERNAL_RAM_BANK_SIZE (32768)
412 /* @brief Total Bank numbers */
413 #define FSL_FEATURE_FLEXRAM_INTERNAL_RAM_TOTAL_BANK_NUMBERS (16)
414 /* @brief Has FLEXRAM_MAGIC_ADDR. */
415 #define FSL_FEATURE_FLEXRAM_HAS_MAGIC_ADDR (1)
416 /* @brief If FLEXRAM has ECC function. */
417 #define FSL_FEATURE_FLEXRAM_HAS_ECC (1)
418 
419 /* FLEXSPI module features */
420 
421 /* @brief FlexSPI AHB buffer count */
422 #define FSL_FEATURE_FLEXSPI_AHB_BUFFER_COUNTn(x) (4)
423 /* @brief FlexSPI has no data learn. */
424 #define FSL_FEATURE_FLEXSPI_HAS_NO_DATA_LEARN (1)
425 /* @brief There is AHBBUSERROREN bit in INTEN register. */
426 #define FSL_FEATURE_FLEXSPI_HAS_INTEN_AHBBUSERROREN (1)
427 /* @brief There is CLRAHBTX_RXBUF bit in AHBCR register. */
428 #define FSL_FEATURE_FLEXSPI_HAS_AHBCR_CLRAHBTX_RXBUF (0)
429 
430 /* GPC_CPU_CTRL module features */
431 
432 /* No feature definitions */
433 
434 /* GPC_SP_CTRL module features */
435 
436 /* No feature definitions */
437 
438 /* GPC_STBY_CTRL module features */
439 
440 /* No feature definitions */
441 
442 /* KEY_MANAGER module features */
443 
444 /* No feature definitions */
445 
446 /* PUF module features */
447 
448 /* @brief PUF need to setup SRAM manually */
449 #define FSL_FEATURE_PUF_PWR_HAS_MANUAL_SLEEP_CONTROL (1)
450 /* @brief PUF has SHIFT_STATUS register. */
451 #define FSL_FEATURE_PUF_HAS_SHIFT_STATUS (0)
452 /* @brief PUF has IDXBLK_SHIFT register. */
453 #define FSL_FEATURE_PUF_HAS_IDXBLK_SHIFT (1)
454 /* @brief SOC has no reset driver. */
455 #define FSL_FEATURE_PUF_HAS_NO_RESET (1)
456 
457 /* LCDIF module features */
458 
459 /* @brief LCDIF does not support alpha support. */
460 #define FSL_FEATURE_LCDIF_HAS_NO_AS (1)
461 /* @brief LCDIF does not support output reset pin to LCD panel. */
462 #define FSL_FEATURE_LCDIF_HAS_NO_RESET_PIN (1)
463 /* @brief LCDIF supports LUT. */
464 #define FSL_FEATURE_LCDIF_HAS_LUT (1)
465 
466 /* LCDIFV2 module features */
467 
468 /* @brief Clut RAM offset, see datail in RM */
469 #define FSL_FEATURE_LCDIFV2_CLUT_RAM_OFFSET (0x2000)
470 /* @brief Init doamin count, register INIT[n]_ENABLE. */
471 #define FSL_FEATURE_LCDIFV2_INT_DOMAIN_COUNT (2)
472 /* @brief Layer count */
473 #define FSL_FEATURE_LCDIFV2_LAYER_COUNT (8)
474 /* @brief CSC count in layer, register CSC_COEF[n]. */
475 #define FSL_FEATURE_LCDIFV2_LAYER_CSC_COUNT (2)
476 
477 /* LPADC module features */
478 
479 /* @brief Has subsequent trigger priority (bitfield CFG[TPRICTRL]). */
480 #define FSL_FEATURE_LPADC_HAS_CFG_SUBSEQUENT_PRIORITY (1)
481 /* @brief Has differential mode (bitfield CMDLn[DIFF]). */
482 #define FSL_FEATURE_LPADC_HAS_CMDL_DIFF (1)
483 /* @brief Has channel scale (bitfield CMDLn[CSCALE]). */
484 #define FSL_FEATURE_LPADC_HAS_CMDL_CSCALE (1)
485 /* @brief Has conversion type select (bitfield CMDLn[CTYPE]). */
486 #define FSL_FEATURE_LPADC_HAS_CMDL_CTYPE (0)
487 /* @brief Has conversion resolution select  (bitfield CMDLn[MODE]). */
488 #define FSL_FEATURE_LPADC_HAS_CMDL_MODE (0)
489 /* @brief Has Wait for trigger assertion before execution (bitfield CMDHn[WAIT_TRIG]). */
490 #define FSL_FEATURE_LPADC_HAS_CMDH_WAIT_TRIG (0)
491 /* @brief Has offset calibration (bitfield CTRL[CALOFS]). */
492 #define FSL_FEATURE_LPADC_HAS_CTRL_CALOFS (0)
493 /* @brief Has gain calibration (bitfield CTRL[CAL_REQ]). */
494 #define FSL_FEATURE_LPADC_HAS_CTRL_CAL_REQ (0)
495 /* @brief Has calibration average (bitfield CTRL[CAL_AVGS]). */
496 #define FSL_FEATURE_LPADC_HAS_CTRL_CAL_AVGS (0)
497 /* @brief Has internal clock (bitfield CFG[ADCKEN]). */
498 #define FSL_FEATURE_LPADC_HAS_CFG_ADCKEN (0)
499 /* @brief Enable support for low voltage reference on option 1 reference (bitfield CFG[VREF1RNG]). */
500 #define FSL_FEATURE_LPADC_HAS_CFG_VREF1RNG (0)
501 /* @brief Has calibration (bitfield CFG[CALOFS]). */
502 #define FSL_FEATURE_LPADC_HAS_CFG_CALOFS (0)
503 /* @brief Has offset trim (register OFSTRIM). */
504 #define FSL_FEATURE_LPADC_HAS_OFSTRIM (0)
505 
506 /* LPI2C module features */
507 
508 /* @brief Has separate DMA RX and TX requests. */
509 #define FSL_FEATURE_LPI2C_HAS_SEPARATE_DMA_RX_TX_REQn(x) (0)
510 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
511 #define FSL_FEATURE_LPI2C_FIFO_SIZEn(x) (4)
512 
513 /* LPSPI module features */
514 
515 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
516 #define FSL_FEATURE_LPSPI_FIFO_SIZEn(x) (16)
517 /* @brief Has separate DMA RX and TX requests. */
518 #define FSL_FEATURE_LPSPI_HAS_SEPARATE_DMA_RX_TX_REQn(x) (1)
519 
520 /* LPUART module features */
521 
522 /* @brief Has receive FIFO overflow detection (bit field CFIFO[RXOFE]). */
523 #define FSL_FEATURE_LPUART_HAS_IRQ_EXTENDED_FUNCTIONS (0)
524 /* @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). */
525 #define FSL_FEATURE_LPUART_HAS_LOW_POWER_UART_SUPPORT (1)
526 /* @brief Has extended data register ED (or extra flags in the DATA register if the registers are 32-bit wide). */
527 #define FSL_FEATURE_LPUART_HAS_EXTENDED_DATA_REGISTER_FLAGS (1)
528 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
529 #define FSL_FEATURE_LPUART_HAS_FIFO (1)
530 /* @brief Has 32-bit register MODIR */
531 #define FSL_FEATURE_LPUART_HAS_MODIR (1)
532 /* @brief Hardware flow control (RTS, CTS) is supported. */
533 #define FSL_FEATURE_LPUART_HAS_MODEM_SUPPORT (1)
534 /* @brief Infrared (modulation) is supported. */
535 #define FSL_FEATURE_LPUART_HAS_IR_SUPPORT (1)
536 /* @brief 2 bits long stop bit is available. */
537 #define FSL_FEATURE_LPUART_HAS_STOP_BIT_CONFIG_SUPPORT (1)
538 /* @brief If 10-bit mode is supported. */
539 #define FSL_FEATURE_LPUART_HAS_10BIT_DATA_SUPPORT (1)
540 /* @brief If 7-bit mode is supported. */
541 #define FSL_FEATURE_LPUART_HAS_7BIT_DATA_SUPPORT (1)
542 /* @brief Baud rate fine adjustment is available. */
543 #define FSL_FEATURE_LPUART_HAS_BAUD_RATE_FINE_ADJUST_SUPPORT (0)
544 /* @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). */
545 #define FSL_FEATURE_LPUART_HAS_BAUD_RATE_OVER_SAMPLING_SUPPORT (1)
546 /* @brief Baud rate oversampling is available. */
547 #define FSL_FEATURE_LPUART_HAS_RX_RESYNC_SUPPORT (1)
548 /* @brief Baud rate oversampling is available. */
549 #define FSL_FEATURE_LPUART_HAS_BOTH_EDGE_SAMPLING_SUPPORT (1)
550 /* @brief Peripheral type. */
551 #define FSL_FEATURE_LPUART_IS_SCI (1)
552 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
553 #define FSL_FEATURE_LPUART_FIFO_SIZEn(x) (4)
554 /* @brief Supports two match addresses to filter incoming frames. */
555 #define FSL_FEATURE_LPUART_HAS_ADDRESS_MATCHING (1)
556 /* @brief Has transmitter/receiver DMA enable bits C5[TDMAE]/C5[RDMAE] (or BAUD[TDMAE]/BAUD[RDMAE] if the registers are 32-bit wide). */
557 #define FSL_FEATURE_LPUART_HAS_DMA_ENABLE (1)
558 /* @brief Has transmitter/receiver DMA select bits C4[TDMAS]/C4[RDMAS], resp. C5[TDMAS]/C5[RDMAS] if IS_SCI = 0. */
559 #define FSL_FEATURE_LPUART_HAS_DMA_SELECT (0)
560 /* @brief Data character bit order selection is supported (bit field S2[MSBF] or STAT[MSBF] if the registers are 32-bit wide). */
561 #define FSL_FEATURE_LPUART_HAS_BIT_ORDER_SELECT (1)
562 /* @brief Has smart card (ISO7816 protocol) support and no improved smart card support. */
563 #define FSL_FEATURE_LPUART_HAS_SMART_CARD_SUPPORT (0)
564 /* @brief Has improved smart card (ISO7816 protocol) support. */
565 #define FSL_FEATURE_LPUART_HAS_IMPROVED_SMART_CARD_SUPPORT (0)
566 /* @brief Has local operation network (CEA709.1-B protocol) support. */
567 #define FSL_FEATURE_LPUART_HAS_LOCAL_OPERATION_NETWORK_SUPPORT (0)
568 /* @brief Has 32-bit registers (BAUD, STAT, CTRL, DATA, MATCH, MODIR) instead of 8-bit (BDH, BDL, C1, S1, D, etc.). */
569 #define FSL_FEATURE_LPUART_HAS_32BIT_REGISTERS (1)
570 /* @brief Lin break detect available (has bit BAUD[LBKDIE]). */
571 #define FSL_FEATURE_LPUART_HAS_LIN_BREAK_DETECT (1)
572 /* @brief UART stops in Wait mode available (has bit C1[UARTSWAI]). */
573 #define FSL_FEATURE_LPUART_HAS_WAIT_MODE_OPERATION (0)
574 /* @brief Has separate DMA RX and TX requests. */
575 #define FSL_FEATURE_LPUART_HAS_SEPARATE_DMA_RX_TX_REQn(x) (1)
576 /* @brief Has separate RX and TX interrupts. */
577 #define FSL_FEATURE_LPUART_HAS_SEPARATE_RX_TX_IRQ (0)
578 /* @brief Has LPAURT_PARAM. */
579 #define FSL_FEATURE_LPUART_HAS_PARAM (1)
580 /* @brief Has LPUART_VERID. */
581 #define FSL_FEATURE_LPUART_HAS_VERID (1)
582 /* @brief Has LPUART_GLOBAL. */
583 #define FSL_FEATURE_LPUART_HAS_GLOBAL (1)
584 /* @brief Has LPUART_PINCFG. */
585 #define FSL_FEATURE_LPUART_HAS_PINCFG (1)
586 
587 /* CSI2RX module features */
588 
589 /* @brief If MIPI_CSI2RX registers don't have prefix. */
590 #define FSL_FEATURE_CSI2RX_HAS_NO_REG_PREFIX (1)
591 
592 /* MU module features */
593 
594 /* @brief MU side for current core */
595 #define FSL_FEATURE_MU_SIDE_A (1)
596 /* @brief MU Has register CCR */
597 #define FSL_FEATURE_MU_HAS_CCR (0)
598 /* @brief MU Has register SR[RS], BSR[ARS] */
599 #define FSL_FEATURE_MU_HAS_SR_RS (1)
600 /* @brief MU Has register CR[RDIE], CR[RAIE], SR[RDIP], SR[RAIP] */
601 #define FSL_FEATURE_MU_HAS_RESET_INT (0)
602 /* @brief MU Has register SR[MURIP] */
603 #define FSL_FEATURE_MU_HAS_SR_MURIP (0)
604 /* @brief MU Has register SR[HRIP] */
605 #define FSL_FEATURE_MU_HAS_SR_HRIP (0)
606 /* @brief MU does not support enable clock of the other core, CR[CLKE] or CCR[CLKE]. */
607 #define FSL_FEATURE_MU_NO_CLKE (1)
608 /* @brief MU does not support NMI, CR[NMI]. */
609 #define FSL_FEATURE_MU_NO_NMI (1)
610 /* @brief MU does not support hold the other core reset. CR[RSTH] or CCR[RSTH]. */
611 #define FSL_FEATURE_MU_NO_RSTH (1)
612 /* @brief MU does not supports MU reset, CR[MUR]. */
613 #define FSL_FEATURE_MU_NO_MUR (0)
614 /* @brief MU does not supports hardware reset, CR[HR] or CCR[HR]. */
615 #define FSL_FEATURE_MU_NO_HR (1)
616 /* @brief MU supports mask the hardware reset. CR[HRM] or CCR[HRM]. */
617 #define FSL_FEATURE_MU_HAS_HRM (0)
618 /* @brief MU does not support check the other core power mode. SR[PM]. */
619 #define FSL_FEATURE_MU_NO_PM (1)
620 /* @brief MU supports reset assert interrupt. CR[RAIE] or BCR[RAIE]. */
621 #define FSL_FEATURE_MU_HAS_RESET_ASSERT_INT (0)
622 /* @brief MU supports reset de-assert interrupt. CR[RDIE] or BCR[RDIE]. */
623 #define FSL_FEATURE_MU_HAS_RESET_DEASSERT_INT (0)
624 
625 /* interrupt module features */
626 
627 /* @brief Lowest interrupt request number. */
628 #define FSL_FEATURE_INTERRUPT_IRQ_MIN (-14)
629 /* @brief Highest interrupt request number. */
630 #define FSL_FEATURE_INTERRUPT_IRQ_MAX (105)
631 
632 /* OCOTP module features */
633 
634 /* @brief Has timing control, (register TIMING). */
635 #define FSL_FEATURE_OCOTP_HAS_TIMING_CTRL (0)
636 /* @brief Support lock eFuse word write lock, (CTRL[WORDLOCK]). */
637 #define FSL_FEATURE_OCOTP_HAS_WORDLOCK (1)
638 
639 /* OSC_RC_400M module features */
640 
641 /* No feature definitions */
642 
643 /* PDM module features */
644 
645 /* @brief PDM FIFO offset */
646 #define FSL_FEATURE_PDM_FIFO_OFFSET (4)
647 /* @brief PDM Channel Number */
648 #define FSL_FEATURE_PDM_CHANNEL_NUM (8)
649 /* @brief PDM FIFO WIDTH Size */
650 #define FSL_FEATURE_PDM_FIFO_WIDTH (4)
651 /* @brief PDM FIFO DEPTH Size */
652 #define FSL_FEATURE_PDM_FIFO_DEPTH (8)
653 /* @brief PDM has RANGE_CTRL register */
654 #define FSL_FEATURE_PDM_HAS_RANGE_CTRL (1)
655 
656 /* PGMC_BPC module features */
657 
658 /* No feature definitions */
659 
660 /* PGMC_CPC module features */
661 
662 /* No feature definitions */
663 
664 /* PGMC_MIF module features */
665 
666 /* No feature definitions */
667 
668 /* PGMC_PPC module features */
669 
670 /* No feature definitions */
671 
672 /* PHY_LDO module features */
673 
674 /* No feature definitions */
675 
676 /* PIT module features */
677 
678 /* @brief Number of channels (related to number of registers LDVALn, CVALn, TCTRLn, TFLGn). */
679 #define FSL_FEATURE_PIT_TIMER_COUNT (4)
680 /* @brief Has lifetime timer (related to existence of registers LTMR64L and LTMR64H). */
681 #define FSL_FEATURE_PIT_HAS_LIFETIME_TIMER (1)
682 /* @brief Has chain mode (related to existence of register bit field TCTRLn[CHN]). */
683 #define FSL_FEATURE_PIT_HAS_CHAIN_MODE (1)
684 /* @brief Has shared interrupt handler (has not individual interrupt handler for each channel). */
685 #define FSL_FEATURE_PIT_HAS_SHARED_IRQ_HANDLER (1)
686 /* @brief Has timer enable control. */
687 #define FSL_FEATURE_PIT_HAS_MDIS (1)
688 
689 /* PWM module features */
690 
691 /* @brief If (e)FlexPWM has module A channels (outputs). */
692 #define FSL_FEATURE_PWM_HAS_CHANNELA (1)
693 /* @brief If (e)FlexPWM has module B channels (outputs). */
694 #define FSL_FEATURE_PWM_HAS_CHANNELB (1)
695 /* @brief If (e)FlexPWM has module X channels (outputs). */
696 #define FSL_FEATURE_PWM_HAS_CHANNELX (1)
697 /* @brief If (e)FlexPWM has fractional feature. */
698 #define FSL_FEATURE_PWM_HAS_FRACTIONAL (1)
699 /* @brief If (e)FlexPWM has mux trigger source select bit field. */
700 #define FSL_FEATURE_PWM_HAS_MUX_TRIGGER_SOURCE_SEL (1)
701 /* @brief Number of submodules in each (e)FlexPWM module. */
702 #define FSL_FEATURE_PWM_SUBMODULE_COUNT (4U)
703 /* @brief Number of fault channel in each (e)FlexPWM module. */
704 #define FSL_FEATURE_PWM_FAULT_CH_COUNT (1)
705 
706 /* PXP module features */
707 
708 /* @brief PXP module has dither engine. */
709 #define FSL_FEATURE_PXP_HAS_DITHER (0)
710 /* @brief PXP module supports repeat run */
711 #define FSL_FEATURE_PXP_HAS_EN_REPEAT (1)
712 /* @brief PXP doesn't have CSC */
713 #define FSL_FEATURE_PXP_HAS_NO_CSC2 (1)
714 /* @brief PXP doesn't have LUT */
715 #define FSL_FEATURE_PXP_HAS_NO_LUT (1)
716 
717 /* RTWDOG module features */
718 
719 /* @brief Watchdog is available. */
720 #define FSL_FEATURE_RTWDOG_HAS_WATCHDOG (1)
721 /* @brief RTWDOG_CNT can be 32-bit written. */
722 #define FSL_FEATURE_RTWDOG_HAS_32BIT_ACCESS (1)
723 
724 /* SAI module features */
725 
726 /* @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). */
727 #define FSL_FEATURE_SAI_FIFO_COUNT (32)
728 /* @brief Receive/transmit channel number (register bit fields TCR3[TCE], RCR3[RCE], registers TDRn and RDRn). */
729 #define FSL_FEATURE_SAI_CHANNEL_COUNTn(x) \
730     (((x) == SAI1) ? (4) : \
731     (((x) == SAI2) ? (1) : \
732     (((x) == SAI3) ? (1) : \
733     (((x) == SAI4) ? (1) : (-1)))))
734 /* @brief Maximum words per frame (register bit fields TCR3[WDFL], TCR4[FRSZ], TMR[TWM], RCR3[WDFL], RCR4[FRSZ], RMR[RWM]). */
735 #define FSL_FEATURE_SAI_MAX_WORDS_PER_FRAME (32)
736 /* @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]). */
737 #define FSL_FEATURE_SAI_HAS_FIFO_COMBINE_MODE (1)
738 /* @brief Has packing of 8-bit and 16-bit data into each 32-bit FIFO word (register bit fields TCR4[FPACK], RCR4[FPACK]). */
739 #define FSL_FEATURE_SAI_HAS_FIFO_PACKING (1)
740 /* @brief Configures when the SAI will continue transmitting after a FIFO error has been detected (register bit fields TCR4[FCONT], RCR4[FCONT]). */
741 #define FSL_FEATURE_SAI_HAS_FIFO_FUNCTION_AFTER_ERROR (1)
742 /* @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]). */
743 #define FSL_FEATURE_SAI_HAS_ON_DEMAND_MODE (1)
744 /* @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]. */
745 #define FSL_FEATURE_SAI_HAS_CLOCKING_MODE (0)
746 /* @brief Has register for configuration of the MCLK divide ratio (register bit fields MDR[FRACT], MDR[DIVIDE]). */
747 #define FSL_FEATURE_SAI_HAS_MCLKDIV_REGISTER (0)
748 /* @brief Interrupt source number */
749 #define FSL_FEATURE_SAI_INT_SOURCE_NUM (2)
750 /* @brief Has register of MCR. */
751 #define FSL_FEATURE_SAI_HAS_MCR (0)
752 /* @brief Has bit field MICS of the MCR register. */
753 #define FSL_FEATURE_SAI_HAS_NO_MCR_MICS (1)
754 /* @brief Has register of MDR */
755 #define FSL_FEATURE_SAI_HAS_MDR (0)
756 /* @brief Has support the BCLK bypass mode when BCLK = MCLK. */
757 #define FSL_FEATURE_SAI_HAS_BCLK_BYPASS (1)
758 /* @brief Has DIV bit fields of MCR register (register bit fields MCR[DIV]. */
759 #define FSL_FEATURE_SAI_HAS_MCR_MCLK_POST_DIV (0)
760 /* @brief Support Channel Mode (register bit fields TCR4[CHMOD]). */
761 #define FSL_FEATURE_SAI_HAS_CHANNEL_MODE (1)
762 
763 /* SEMC module features */
764 
765 /* @brief Has WDH time in NOR controller (register bit field NORCR2[WDH]). */
766 #define FSL_FEATURE_SEMC_HAS_NOR_WDH_TIME (0)
767 /* @brief Has WDS time in NOR controller (register bit field NORCR2[WDS]). */
768 #define FSL_FEATURE_SEMC_HAS_NOR_WDS_TIME (0)
769 /* @brief SRAM count SEMC can support (register BRx). */
770 #define FSL_FEATURE_SEMC_SUPPORT_SRAM_COUNT (4)
771 /* @brief If SEMC support delay chain control (register DCCR). */
772 #define FSL_FEATURE_SEMC_HAS_DELAY_CHAIN_CONTROL (1)
773 /* @brief Has read hold time feature (register bit field SRAMCR6[RDH]). */
774 #define FSL_FEATURE_SEMC_HAS_SRAM_RDH_TIME (1)
775 /* @brief Width of SDRAMCR0[PS] bitfields. */
776 #define FSL_FEATURE_SEMC_SUPPORT_SDRAM_PS_BITWIDTH (2)
777 /* @brief If SEMC has errata 050577. */
778 #define FSL_FEATURE_SEMC_ERRATA_050577 (0)
779 /* @brief If sdram support column address 8 bit (register bit field SRAMCR0[CLO8]). */
780 #define FSL_FEATURE_SEMC_SDRAM_SUPPORT_COLUMN_ADDRESS_8BIT (1)
781 /* @brief If SEMC has register DBICR2 (register DBICR2). */
782 #define FSL_FEATURE_SEMC_HAS_DBICR2 (1)
783 
784 /* SNVS module features */
785 
786 /* @brief Has Secure Real Time Counter Enabled and Valid (bit field LPCR[SRTC_ENV]). */
787 #define FSL_FEATURE_SNVS_HAS_SRTC (1)
788 /* @brief Has Passive Tamper Filter (regitser LPTGFCR). */
789 #define FSL_FEATURE_SNVS_PASSIVE_TAMPER_FILTER (1)
790 /* @brief Has Active Tampers (regitser LPATCTLR, LPATCLKR, LPATRCnR). */
791 #define FSL_FEATURE_SNVS_HAS_ACTIVE_TAMPERS (1)
792 /* @brief Number of TAMPER. */
793 #define FSL_FEATURE_SNVS_HAS_MULTIPLE_TAMPER (10)
794 
795 /* SSARC_HP module features */
796 
797 /* No feature definitions */
798 
799 /* SSARC_LP module features */
800 
801 /* No feature definitions */
802 
803 /* SCB module features */
804 
805 /* @brief L1 ICACHE line size in byte. */
806 #define FSL_FEATURE_L1ICACHE_LINESIZE_BYTE (32)
807 /* @brief L1 DCACHE line size in byte. */
808 #define FSL_FEATURE_L1DCACHE_LINESIZE_BYTE (32)
809 
810 /* USBPHY module features */
811 
812 /* @brief USBPHY contain DCD analog module */
813 #define FSL_FEATURE_USBPHY_HAS_DCD_ANALOG (0)
814 /* @brief USBPHY has register TRIM_OVERRIDE_EN */
815 #define FSL_FEATURE_USBPHY_HAS_TRIM_OVERRIDE_EN (1)
816 /* @brief USBPHY is 28FDSOI */
817 #define FSL_FEATURE_USBPHY_28FDSOI (1)
818 
819 /* USBHS module features */
820 
821 /* @brief EHCI module instance count */
822 #define FSL_FEATURE_USBHS_EHCI_COUNT (2)
823 /* @brief Number of endpoints supported */
824 #define FSL_FEATURE_USBHS_ENDPT_COUNT (8)
825 
826 /* USDHC module features */
827 
828 /* @brief Has external DMA support (VEND_SPEC[EXT_DMA_EN]) */
829 #define FSL_FEATURE_USDHC_HAS_EXT_DMA (0)
830 /* @brief Has HS400 mode (MIX_CTRL[HS400_MODE]) */
831 #define FSL_FEATURE_USDHC_HAS_HS400_MODE (1)
832 /* @brief Has SDR50 support (HOST_CTRL_CAP[SDR50_SUPPORT]) */
833 #define FSL_FEATURE_USDHC_HAS_SDR50_MODE (1)
834 /* @brief Has SDR104 support (HOST_CTRL_CAP[SDR104_SUPPORT]) */
835 #define FSL_FEATURE_USDHC_HAS_SDR104_MODE (1)
836 /* @brief USDHC has reset control */
837 #define FSL_FEATURE_USDHC_HAS_RESET (0)
838 /* @brief USDHC has no bitfield WTMK_LVL[WR_BRST_LEN] and WTMK_LVL[RD_BRST_LEN] */
839 #define FSL_FEATURE_USDHC_HAS_NO_RW_BURST_LEN (1)
840 /* @brief If USDHC instance support 8 bit width */
841 #define FSL_FEATURE_USDHC_INSTANCE_SUPPORT_8_BIT_WIDTHn(x) \
842     (((x) == USDHC1) ? (0) : \
843     (((x) == USDHC2) ? (1) : (-1)))
844 /* @brief If USDHC instance support HS400 mode */
845 #define FSL_FEATURE_USDHC_INSTANCE_SUPPORT_HS400_MODEn(x) (1)
846 /* @brief If USDHC instance support 1v8 signal */
847 #define FSL_FEATURE_USDHC_INSTANCE_SUPPORT_1V8_SIGNALn(x) (1)
848 /* @brief Has no retuning time counter (HOST_CTRL_CAP[TIME_COUNT_RETURNING]) */
849 #define FSL_FEATURE_USDHC_REGISTER_HOST_CTRL_CAP_HAS_NO_RETUNING_TIME_COUNTER (1)
850 
851 /* VIDEO_PLL module features */
852 
853 /* No feature definitions */
854 
855 /* VMBANDGAP module features */
856 
857 /* No feature definitions */
858 
859 /* XBARA module features */
860 
861 /* @brief Number of interrupt requests. */
862 #define FSL_FEATURE_XBARA_INTERRUPT_COUNT (4)
863 
864 /* XRDC2 module features */
865 
866 /* @brief XRDC2 supports how many domains */
867 #define FSL_FEATURE_XRDC2_DOMAIN_COUNT (16)
868 
869 #endif /* _MIMXRT1176_cm7_FEATURES_H_ */
870 
871