MIMXRT1052_features.h
Go to the documentation of this file.
1 /*
2 ** ###################################################################
3 ** Version: rev. 1.1, 2018-11-16
4 ** Build: b200211
5 **
6 ** Abstract:
7 ** Chip specific module features.
8 **
9 ** Copyright 2016 Freescale Semiconductor, Inc.
10 ** Copyright 2016-2020 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 (2017-01-10)
20 ** Initial version.
21 ** - rev. 1.0 (2018-09-21)
22 ** Update interrupt vector table and dma request source.
23 ** Update register BEE_ADDR_OFFSET1's bitfield name to ADDR_OFFSET1.
24 ** Split GPIO_COMBINED_IRQS to GPIO_COMBINED_LOW_IRQS and GPIO_COMBINED_HIGH_IRQS.
25 ** - rev. 1.1 (2018-11-16)
26 ** Update feature files to align with IMXRT1050RM Rev.1.
27 **
28 ** ###################################################################
29 */
30 
31 #ifndef _MIMXRT1052_FEATURES_H_
32 #define _MIMXRT1052_FEATURES_H_
33 
34 /* SOC module features */
35 
36 /* @brief ADC availability on the SoC. */
37 #define FSL_FEATURE_SOC_ADC_COUNT (2)
38 /* @brief AIPSTZ availability on the SoC. */
39 #define FSL_FEATURE_SOC_AIPSTZ_COUNT (4)
40 /* @brief AOI availability on the SoC. */
41 #define FSL_FEATURE_SOC_AOI_COUNT (2)
42 /* @brief CCM availability on the SoC. */
43 #define FSL_FEATURE_SOC_CCM_COUNT (1)
44 /* @brief CCM_ANALOG availability on the SoC. */
45 #define FSL_FEATURE_SOC_CCM_ANALOG_COUNT (1)
46 /* @brief CMP availability on the SoC. */
47 #define FSL_FEATURE_SOC_CMP_COUNT (4)
48 /* @brief CSI availability on the SoC. */
49 #define FSL_FEATURE_SOC_CSI_COUNT (1)
50 /* @brief DCDC availability on the SoC. */
51 #define FSL_FEATURE_SOC_DCDC_COUNT (1)
52 /* @brief DCP availability on the SoC. */
53 #define FSL_FEATURE_SOC_DCP_COUNT (1)
54 /* @brief DMAMUX availability on the SoC. */
55 #define FSL_FEATURE_SOC_DMAMUX_COUNT (1)
56 /* @brief EDMA availability on the SoC. */
57 #define FSL_FEATURE_SOC_EDMA_COUNT (1)
58 /* @brief ENC availability on the SoC. */
59 #define FSL_FEATURE_SOC_ENC_COUNT (4)
60 /* @brief ENET availability on the SoC. */
61 #define FSL_FEATURE_SOC_ENET_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 (2)
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 (1)
72 /* @brief GPC availability on the SoC. */
73 #define FSL_FEATURE_SOC_GPC_COUNT (1)
74 /* @brief GPT availability on the SoC. */
75 #define FSL_FEATURE_SOC_GPT_COUNT (2)
76 /* @brief I2S availability on the SoC. */
77 #define FSL_FEATURE_SOC_I2S_COUNT (3)
78 /* @brief IGPIO availability on the SoC. */
79 #define FSL_FEATURE_SOC_IGPIO_COUNT (5)
80 /* @brief IOMUXC availability on the SoC. */
81 #define FSL_FEATURE_SOC_IOMUXC_COUNT (1)
82 /* @brief IOMUXC_GPR availability on the SoC. */
83 #define FSL_FEATURE_SOC_IOMUXC_GPR_COUNT (1)
84 /* @brief IOMUXC_SNVS availability on the SoC. */
85 #define FSL_FEATURE_SOC_IOMUXC_SNVS_COUNT (1)
86 /* @brief KPP availability on the SoC. */
87 #define FSL_FEATURE_SOC_KPP_COUNT (1)
88 /* @brief LCDIF availability on the SoC. */
89 #define FSL_FEATURE_SOC_LCDIF_COUNT (1)
90 /* @brief LPI2C availability on the SoC. */
91 #define FSL_FEATURE_SOC_LPI2C_COUNT (4)
92 /* @brief LPSPI availability on the SoC. */
93 #define FSL_FEATURE_SOC_LPSPI_COUNT (4)
94 /* @brief LPUART availability on the SoC. */
95 #define FSL_FEATURE_SOC_LPUART_COUNT (8)
96 /* @brief OCOTP availability on the SoC. */
97 #define FSL_FEATURE_SOC_OCOTP_COUNT (1)
98 /* @brief PIT availability on the SoC. */
99 #define FSL_FEATURE_SOC_PIT_COUNT (1)
100 /* @brief PMU availability on the SoC. */
101 #define FSL_FEATURE_SOC_PMU_COUNT (1)
102 /* @brief PWM availability on the SoC. */
103 #define FSL_FEATURE_SOC_PWM_COUNT (4)
104 /* @brief PXP availability on the SoC. */
105 #define FSL_FEATURE_SOC_PXP_COUNT (1)
106 /* @brief ROMC availability on the SoC. */
107 #define FSL_FEATURE_SOC_ROMC_COUNT (1)
108 /* @brief SEMC availability on the SoC. */
109 #define FSL_FEATURE_SOC_SEMC_COUNT (1)
110 /* @brief SNVS availability on the SoC. */
111 #define FSL_FEATURE_SOC_SNVS_COUNT (1)
112 /* @brief SPDIF availability on the SoC. */
113 #define FSL_FEATURE_SOC_SPDIF_COUNT (1)
114 /* @brief SRC availability on the SoC. */
115 #define FSL_FEATURE_SOC_SRC_COUNT (1)
116 /* @brief TEMPMON availability on the SoC. */
117 #define FSL_FEATURE_SOC_TEMPMON_COUNT (1)
118 /* @brief TMR availability on the SoC. */
119 #define FSL_FEATURE_SOC_TMR_COUNT (4)
120 /* @brief TRNG availability on the SoC. */
121 #define FSL_FEATURE_SOC_TRNG_COUNT (1)
122 /* @brief TSC availability on the SoC. */
123 #define FSL_FEATURE_SOC_TSC_COUNT (1)
124 /* @brief USBHS availability on the SoC. */
125 #define FSL_FEATURE_SOC_USBHS_COUNT (2)
126 /* @brief USBNC availability on the SoC. */
127 #define FSL_FEATURE_SOC_USBNC_COUNT (2)
128 /* @brief USBPHY availability on the SoC. */
129 #define FSL_FEATURE_SOC_USBPHY_COUNT (2)
130 /* @brief USB_ANALOG availability on the SoC. */
131 #define FSL_FEATURE_SOC_USB_ANALOG_COUNT (1)
132 /* @brief USDHC availability on the SoC. */
133 #define FSL_FEATURE_SOC_USDHC_COUNT (2)
134 /* @brief WDOG availability on the SoC. */
135 #define FSL_FEATURE_SOC_WDOG_COUNT (2)
136 /* @brief XBARA availability on the SoC. */
137 #define FSL_FEATURE_SOC_XBARA_COUNT (1)
138 /* @brief XBARB availability on the SoC. */
139 #define FSL_FEATURE_SOC_XBARB_COUNT (2)
140 /* @brief XTALOSC24M availability on the SoC. */
141 #define FSL_FEATURE_SOC_XTALOSC24M_COUNT (1)
142 
143 /* ADC module features */
144 
145 /* @brief Remove Hardware Trigger feature. */
146 #define FSL_FEATURE_ADC_SUPPORT_HARDWARE_TRIGGER_REMOVE (0)
147 /* @brief Remove ALT Clock selection feature. */
148 #define FSL_FEATURE_ADC_SUPPORT_ALTCLK_REMOVE (1)
149 /* @brief Conversion control count (related to number of registers HCn and Rn). */
150 #define FSL_FEATURE_ADC_CONVERSION_CONTROL_COUNT (8)
151 
152 /* ADC_ETC module features */
153 
154 /* @brief Has DMA model control(bit field CTRL[DMA_MODE_SEL]). */
155 #define FSL_FEATURE_ADC_ETC_HAS_CTRL_DMA_MODE_SEL (1)
156 /* @brief Has TRIGm_CHAIN_a_b IEn_EN. */
157 #define FSL_FEATURE_ADC_ETC_HAS_TRIGm_CHAIN_a_b_IEn_EN (0)
158 
159 /* AOI module features */
160 
161 /* @brief Maximum value of input mux. */
162 #define FSL_FEATURE_AOI_MODULE_INPUTS (4)
163 /* @brief Number of events related to number of registers AOIx_BFCRT01n/AOIx_BFCRT23n. */
164 #define FSL_FEATURE_AOI_EVENT_COUNT (4)
165 
166 /* FLEXCAN module features */
167 
168 /* @brief Message buffer size */
169 #define FSL_FEATURE_FLEXCAN_HAS_MESSAGE_BUFFER_MAX_NUMBERn(x) (64)
170 /* @brief Has doze mode support (register bit field MCR[DOZE]). */
171 #define FSL_FEATURE_FLEXCAN_HAS_DOZE_MODE_SUPPORT (0)
172 /* @brief Insatnce has doze mode support (register bit field MCR[DOZE]). */
173 #define FSL_FEATURE_FLEXCAN_INSTANCE_HAS_DOZE_MODE_SUPPORTn(x) (0)
174 /* @brief Has a glitch filter on the receive pin (register bit field MCR[WAKSRC]). */
175 #define FSL_FEATURE_FLEXCAN_HAS_GLITCH_FILTER (1)
176 /* @brief Has extended interrupt mask and flag register (register IMASK2, IFLAG2). */
177 #define FSL_FEATURE_FLEXCAN_HAS_EXTENDED_FLAG_REGISTER (1)
178 /* @brief Instance has extended bit timing register (register CBT). */
179 #define FSL_FEATURE_FLEXCAN_INSTANCE_HAS_EXTENDED_TIMING_REGISTERn(x) (0)
180 /* @brief Has a receive FIFO DMA feature (register bit field MCR[DMA]). */
181 #define FSL_FEATURE_FLEXCAN_HAS_RX_FIFO_DMA (0)
182 /* @brief Instance has a receive FIFO DMA feature (register bit field MCR[DMA]). */
183 #define FSL_FEATURE_FLEXCAN_INSTANCE_HAS_RX_FIFO_DMAn(x) (0)
184 /* @brief Remove CAN Engine Clock Source Selection from unsupported part. */
185 #define FSL_FEATURE_FLEXCAN_SUPPORT_ENGINE_CLK_SEL_REMOVE (1)
186 /* @brief Instance remove CAN Engine Clock Source Selection from unsupported part. */
187 #define FSL_FEATURE_FLEXCAN_INSTANCE_SUPPORT_ENGINE_CLK_SEL_REMOVEn(x) (1)
188 /* @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). */
189 #define FSL_FEATURE_FLEXCAN_HAS_ERRATA_5641 (0)
190 /* @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). */
191 #define FSL_FEATURE_FLEXCAN_HAS_ERRATA_5829 (1)
192 /* @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). */
193 #define FSL_FEATURE_FLEXCAN_HAS_ERRATA_6032 (1)
194 /* @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). */
195 #define FSL_FEATURE_FLEXCAN_HAS_ERRATA_9595 (1)
196 /* @brief Has CAN with Flexible Data rate (CAN FD) protocol. */
197 #define FSL_FEATURE_FLEXCAN_HAS_FLEXIBLE_DATA_RATE (0)
198 /* @brief CAN instance support Flexible Data rate (CAN FD) protocol. */
199 #define FSL_FEATURE_FLEXCAN_INSTANCE_HAS_FLEXIBLE_DATA_RATEn(x) (0)
200 /* @brief Has extra MB interrupt or common one. */
201 #define FSL_FEATURE_FLEXCAN_HAS_EXTRA_MB_INT (1)
202 /* @brief Has memory error control (register MECR). */
203 #define FSL_FEATURE_FLEXCAN_HAS_MEMORY_ERROR_CONTROL (0)
204 
205 /* CCM module features */
206 
207 /* @brief Is affected by errata with ID 50235 (Incorrect clock setting for CAN affects by LPUART clock gate). */
208 #define FSL_FEATURE_CCM_HAS_ERRATA_50235 (1)
209 
210 /* CMP module features */
211 
212 /* @brief Has Trigger mode in CMP (register bit field CR1[TRIGM]). */
213 #define FSL_FEATURE_CMP_HAS_TRIGGER_MODE (0)
214 /* @brief Has Window mode in CMP (register bit field CR1[WE]). */
215 #define FSL_FEATURE_CMP_HAS_WINDOW_MODE (1)
216 /* @brief Has External sample supported in CMP (register bit field CR1[SE]). */
217 #define FSL_FEATURE_CMP_HAS_EXTERNAL_SAMPLE_SUPPORT (1)
218 /* @brief Has DMA support in CMP (register bit field SCR[DMAEN]). */
219 #define FSL_FEATURE_CMP_HAS_DMA (1)
220 /* @brief Has Pass Through mode in CMP (register bit field MUXCR[PSTM]). */
221 #define FSL_FEATURE_CMP_HAS_PASS_THROUGH_MODE (0)
222 /* @brief Has DAC Test function in CMP (register DACTEST). */
223 #define FSL_FEATURE_CMP_HAS_DAC_TEST (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 
261 /* DMAMUX module features */
262 
263 /* @brief Number of DMA channels (related to number of register CHCFGn). */
264 #define FSL_FEATURE_DMAMUX_MODULE_CHANNEL (32)
265 /* @brief Total number of DMA channels on all modules. */
266 #define FSL_FEATURE_DMAMUX_DMAMUX_CHANNELS (FSL_FEATURE_SOC_DMAMUX_COUNT * 32)
267 /* @brief Has the periodic trigger capability for the triggered DMA channel (register bit CHCFG0[TRIG]). */
268 #define FSL_FEATURE_DMAMUX_HAS_TRIG (1)
269 /* @brief Has DMA Channel Always ON function (register bit CHCFG0[A_ON]). */
270 #define FSL_FEATURE_DMAMUX_HAS_A_ON (1)
271 
272 /* ENET module features */
273 
274 /* @brief Support Interrupt Coalesce */
275 #define FSL_FEATURE_ENET_HAS_INTERRUPT_COALESCE (1)
276 /* @brief Queue Size. */
277 #define FSL_FEATURE_ENET_QUEUE (1)
278 /* @brief Has AVB Support. */
279 #define FSL_FEATURE_ENET_HAS_AVB (0)
280 /* @brief Has Timer Pulse Width control. */
281 #define FSL_FEATURE_ENET_HAS_TIMER_PWCONTROL (1)
282 /* @brief Has Extend MDIO Support. */
283 #define FSL_FEATURE_ENET_HAS_EXTEND_MDIO (1)
284 /* @brief Has Additional 1588 Timer Channel Interrupt. */
285 #define FSL_FEATURE_ENET_HAS_ADD_1588_TIMER_CHN_INT (0)
286 /* @brief Support Interrupt Coalesce for each instance */
287 #define FSL_FEATURE_ENET_INSTANCE_HAS_INTERRUPT_COALESCEn(x) (1)
288 /* @brief Queue Size for each instance. */
289 #define FSL_FEATURE_ENET_INSTANCE_QUEUEn(x) (1)
290 /* @brief Has AVB Support for each instance. */
291 #define FSL_FEATURE_ENET_INSTANCE_HAS_AVBn(x) (0)
292 /* @brief Has Timer Pulse Width control for each instance. */
293 #define FSL_FEATURE_ENET_INSTANCE_HAS_TIMER_PWCONTROLn(x) (1)
294 /* @brief Has Extend MDIO Support for each instance. */
295 #define FSL_FEATURE_ENET_INSTANCE_HAS_EXTEND_MDIOn(x) (1)
296 /* @brief Has Additional 1588 Timer Channel Interrupt for each instance. */
297 #define FSL_FEATURE_ENET_INSTANCE_HAS_ADD_1588_TIMER_CHN_INTn(x) (0)
298 
299 /* EWM module features */
300 
301 /* @brief Has clock select (register CLKCTRL). */
302 #define FSL_FEATURE_EWM_HAS_CLOCK_SELECT (1)
303 /* @brief Has clock prescaler (register CLKPRESCALER). */
304 #define FSL_FEATURE_EWM_HAS_PRESCALER (1)
305 
306 /* FLEXIO module features */
307 
308 /* @brief Has Shifter Status Register (FLEXIO_SHIFTSTAT) */
309 #define FSL_FEATURE_FLEXIO_HAS_SHIFTER_STATUS (1)
310 /* @brief Has Pin Data Input Register (FLEXIO_PIN) */
311 #define FSL_FEATURE_FLEXIO_HAS_PIN_STATUS (1)
312 /* @brief Has Shifter Buffer N Nibble Byte Swapped Register (FLEXIO_SHIFTBUFNBSn) */
313 #define FSL_FEATURE_FLEXIO_HAS_SHFT_BUFFER_NIBBLE_BYTE_SWAP (1)
314 /* @brief Has Shifter Buffer N Half Word Swapped Register (FLEXIO_SHIFTBUFHWSn) */
315 #define FSL_FEATURE_FLEXIO_HAS_SHFT_BUFFER_HALF_WORD_SWAP (1)
316 /* @brief Has Shifter Buffer N Nibble Swapped Register (FLEXIO_SHIFTBUFNISn) */
317 #define FSL_FEATURE_FLEXIO_HAS_SHFT_BUFFER_NIBBLE_SWAP (1)
318 /* @brief Supports Shifter State Mode (FLEXIO_SHIFTCTLn[SMOD]) */
319 #define FSL_FEATURE_FLEXIO_HAS_STATE_MODE (1)
320 /* @brief Supports Shifter Logic Mode (FLEXIO_SHIFTCTLn[SMOD]) */
321 #define FSL_FEATURE_FLEXIO_HAS_LOGIC_MODE (1)
322 /* @brief Supports paralle width (FLEXIO_SHIFTCFGn[PWIDTH]) */
323 #define FSL_FEATURE_FLEXIO_HAS_PARALLEL_WIDTH (1)
324 /* @brief Reset value of the FLEXIO_VERID register */
325 #define FSL_FEATURE_FLEXIO_VERID_RESET_VALUE (0x1010001)
326 /* @brief Reset value of the FLEXIO_PARAM register */
327 #define FSL_FEATURE_FLEXIO_PARAM_RESET_VALUE (0x2200404)
328 /* @brief Flexio DMA request base channel */
329 #define FSL_FEATURE_FLEXIO_DMA_REQUEST_BASE_CHANNEL (0)
330 
331 /* FLEXRAM module features */
332 
333 /* @brief Bank size */
334 #define FSL_FEATURE_FLEXRAM_INTERNAL_RAM_BANK_SIZE (32768)
335 /* @brief Total Bank numbers */
336 #define FSL_FEATURE_FLEXRAM_INTERNAL_RAM_TOTAL_BANK_NUMBERS (16)
337 /* @brief Has FLEXRAM_MAGIC_ADDR. */
338 #define FSL_FEATURE_FLEXRAM_HAS_MAGIC_ADDR (0)
339 
340 /* FLEXSPI module features */
341 
342 /* @brief FlexSPI AHB buffer count */
343 #define FSL_FEATURE_FLEXSPI_AHB_BUFFER_COUNTn(x) (4)
344 /* @brief FlexSPI has no data learn. */
345 #define FSL_FEATURE_FLEXSPI_HAS_NO_DATA_LEARN (1)
346 /* @brief There is AHBBUSERROREN bit in INTEN register. */
347 #define FSL_FEATURE_FLEXSPI_HAS_INTEN_AHBBUSERROREN (0)
348 /* @brief There is CLRAHBTX_RXBUF bit in AHBCR register. */
349 #define FSL_FEATURE_FLEXSPI_HAS_AHBCR_CLRAHBTX_RXBUF (0)
350 
351 /* GPC module features */
352 
353 /* @brief Has DVFS0 Change Request. */
354 #define FSL_FEATURE_GPC_HAS_CNTR_DVFS0CR (0)
355 /* @brief Has GPC interrupt/event masking. */
356 #define FSL_FEATURE_GPC_HAS_CNTR_GPCIRQM (0)
357 /* @brief Has L2 cache power control. */
358 #define FSL_FEATURE_GPC_HAS_CNTR_L2PGE (0)
359 /* @brief Has FLEXRAM PDRAM0(bank1-7) power control. */
360 #define FSL_FEATURE_GPC_HAS_CNTR_PDRAM0PGE (1)
361 /* @brief Has VADC power control. */
362 #define FSL_FEATURE_GPC_HAS_CNTR_VADC (0)
363 /* @brief Has Display power control. */
364 #define FSL_FEATURE_GPC_HAS_CNTR_DISPLAY (0)
365 /* @brief Supports IRQ 0-31. */
366 #define FSL_FEATURE_GPC_HAS_IRQ_0_31 (1)
367 
368 /* IGPIO module features */
369 
370 /* @brief Has data register set DR_SET. */
371 #define FSL_FEATURE_IGPIO_HAS_DR_SET (1)
372 /* @brief Has data register clear DR_CLEAR. */
373 #define FSL_FEATURE_IGPIO_HAS_DR_CLEAR (1)
374 /* @brief Has data register toggle DR_TOGGLE. */
375 #define FSL_FEATURE_IGPIO_HAS_DR_TOGGLE (1)
376 
377 /* LCDIF module features */
378 
379 /* @brief LCDIF does not support alpha support. */
380 #define FSL_FEATURE_LCDIF_HAS_NO_AS (1)
381 /* @brief LCDIF does not support output reset pin to LCD panel. */
382 #define FSL_FEATURE_LCDIF_HAS_NO_RESET_PIN (1)
383 /* @brief LCDIF supports LUT. */
384 #define FSL_FEATURE_LCDIF_HAS_LUT (1)
385 
386 /* LPI2C module features */
387 
388 /* @brief Has separate DMA RX and TX requests. */
389 #define FSL_FEATURE_LPI2C_HAS_SEPARATE_DMA_RX_TX_REQn(x) (0)
390 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
391 #define FSL_FEATURE_LPI2C_FIFO_SIZEn(x) (4)
392 
393 /* LPSPI module features */
394 
395 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
396 #define FSL_FEATURE_LPSPI_FIFO_SIZEn(x) (16)
397 /* @brief Has separate DMA RX and TX requests. */
398 #define FSL_FEATURE_LPSPI_HAS_SEPARATE_DMA_RX_TX_REQn(x) (1)
399 
400 /* LPUART module features */
401 
402 /* @brief Has receive FIFO overflow detection (bit field CFIFO[RXOFE]). */
403 #define FSL_FEATURE_LPUART_HAS_IRQ_EXTENDED_FUNCTIONS (0)
404 /* @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). */
405 #define FSL_FEATURE_LPUART_HAS_LOW_POWER_UART_SUPPORT (1)
406 /* @brief Has extended data register ED (or extra flags in the DATA register if the registers are 32-bit wide). */
407 #define FSL_FEATURE_LPUART_HAS_EXTENDED_DATA_REGISTER_FLAGS (1)
408 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
409 #define FSL_FEATURE_LPUART_HAS_FIFO (1)
410 /* @brief Has 32-bit register MODIR */
411 #define FSL_FEATURE_LPUART_HAS_MODIR (1)
412 /* @brief Hardware flow control (RTS, CTS) is supported. */
413 #define FSL_FEATURE_LPUART_HAS_MODEM_SUPPORT (1)
414 /* @brief Infrared (modulation) is supported. */
415 #define FSL_FEATURE_LPUART_HAS_IR_SUPPORT (1)
416 /* @brief 2 bits long stop bit is available. */
417 #define FSL_FEATURE_LPUART_HAS_STOP_BIT_CONFIG_SUPPORT (1)
418 /* @brief If 10-bit mode is supported. */
419 #define FSL_FEATURE_LPUART_HAS_10BIT_DATA_SUPPORT (1)
420 /* @brief If 7-bit mode is supported. */
421 #define FSL_FEATURE_LPUART_HAS_7BIT_DATA_SUPPORT (1)
422 /* @brief Baud rate fine adjustment is available. */
423 #define FSL_FEATURE_LPUART_HAS_BAUD_RATE_FINE_ADJUST_SUPPORT (0)
424 /* @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). */
425 #define FSL_FEATURE_LPUART_HAS_BAUD_RATE_OVER_SAMPLING_SUPPORT (1)
426 /* @brief Baud rate oversampling is available. */
427 #define FSL_FEATURE_LPUART_HAS_RX_RESYNC_SUPPORT (1)
428 /* @brief Baud rate oversampling is available. */
429 #define FSL_FEATURE_LPUART_HAS_BOTH_EDGE_SAMPLING_SUPPORT (1)
430 /* @brief Peripheral type. */
431 #define FSL_FEATURE_LPUART_IS_SCI (1)
432 /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
433 #define FSL_FEATURE_LPUART_FIFO_SIZEn(x) (4)
434 /* @brief Maximal data width without parity bit. */
435 #define FSL_FEATURE_LPUART_MAX_DATA_WIDTH_WITH_NO_PARITY (10)
436 /* @brief Maximal data width with parity bit. */
437 #define FSL_FEATURE_LPUART_MAX_DATA_WIDTH_WITH_PARITY (9)
438 /* @brief Supports two match addresses to filter incoming frames. */
439 #define FSL_FEATURE_LPUART_HAS_ADDRESS_MATCHING (1)
440 /* @brief Has transmitter/receiver DMA enable bits C5[TDMAE]/C5[RDMAE] (or BAUD[TDMAE]/BAUD[RDMAE] if the registers are 32-bit wide). */
441 #define FSL_FEATURE_LPUART_HAS_DMA_ENABLE (1)
442 /* @brief Has transmitter/receiver DMA select bits C4[TDMAS]/C4[RDMAS], resp. C5[TDMAS]/C5[RDMAS] if IS_SCI = 0. */
443 #define FSL_FEATURE_LPUART_HAS_DMA_SELECT (0)
444 /* @brief Data character bit order selection is supported (bit field S2[MSBF] or STAT[MSBF] if the registers are 32-bit wide). */
445 #define FSL_FEATURE_LPUART_HAS_BIT_ORDER_SELECT (1)
446 /* @brief Has smart card (ISO7816 protocol) support and no improved smart card support. */
447 #define FSL_FEATURE_LPUART_HAS_SMART_CARD_SUPPORT (0)
448 /* @brief Has improved smart card (ISO7816 protocol) support. */
449 #define FSL_FEATURE_LPUART_HAS_IMPROVED_SMART_CARD_SUPPORT (0)
450 /* @brief Has local operation network (CEA709.1-B protocol) support. */
451 #define FSL_FEATURE_LPUART_HAS_LOCAL_OPERATION_NETWORK_SUPPORT (0)
452 /* @brief Has 32-bit registers (BAUD, STAT, CTRL, DATA, MATCH, MODIR) instead of 8-bit (BDH, BDL, C1, S1, D, etc.). */
453 #define FSL_FEATURE_LPUART_HAS_32BIT_REGISTERS (1)
454 /* @brief Lin break detect available (has bit BAUD[LBKDIE]). */
455 #define FSL_FEATURE_LPUART_HAS_LIN_BREAK_DETECT (1)
456 /* @brief UART stops in Wait mode available (has bit C1[UARTSWAI]). */
457 #define FSL_FEATURE_LPUART_HAS_WAIT_MODE_OPERATION (0)
458 /* @brief Has separate DMA RX and TX requests. */
459 #define FSL_FEATURE_LPUART_HAS_SEPARATE_DMA_RX_TX_REQn(x) (1)
460 /* @brief Has separate RX and TX interrupts. */
461 #define FSL_FEATURE_LPUART_HAS_SEPARATE_RX_TX_IRQ (0)
462 /* @brief Has LPAURT_PARAM. */
463 #define FSL_FEATURE_LPUART_HAS_PARAM (1)
464 /* @brief Has LPUART_VERID. */
465 #define FSL_FEATURE_LPUART_HAS_VERID (1)
466 /* @brief Has LPUART_GLOBAL. */
467 #define FSL_FEATURE_LPUART_HAS_GLOBAL (1)
468 /* @brief Has LPUART_PINCFG. */
469 #define FSL_FEATURE_LPUART_HAS_PINCFG (1)
470 
471 /* interrupt module features */
472 
473 /* @brief Lowest interrupt request number. */
474 #define FSL_FEATURE_INTERRUPT_IRQ_MIN (-14)
475 /* @brief Highest interrupt request number. */
476 #define FSL_FEATURE_INTERRUPT_IRQ_MAX (151)
477 
478 /* OCOTP module features */
479 
480 /* @brief Has timing control, (register TIMING). */
481 #define FSL_FEATURE_OCOTP_HAS_TIMING_CTRL (1)
482 /* @brief Support lock eFuse word write lock, (CTRL[WORDLOCK]). */
483 #define FSL_FEATURE_OCOTP_HAS_WORDLOCK (0)
484 /* @brief Has status register. (Register HW_OCOTP_OUT_STATUS0). */
485 #define FSL_FEATURE_OCOTP_HAS_STATUS (0)
486 
487 /* PIT module features */
488 
489 /* @brief Number of channels (related to number of registers LDVALn, CVALn, TCTRLn, TFLGn). */
490 #define FSL_FEATURE_PIT_TIMER_COUNT (4)
491 /* @brief Has lifetime timer (related to existence of registers LTMR64L and LTMR64H). */
492 #define FSL_FEATURE_PIT_HAS_LIFETIME_TIMER (1)
493 /* @brief Has chain mode (related to existence of register bit field TCTRLn[CHN]). */
494 #define FSL_FEATURE_PIT_HAS_CHAIN_MODE (1)
495 /* @brief Has shared interrupt handler (has not individual interrupt handler for each channel). */
496 #define FSL_FEATURE_PIT_HAS_SHARED_IRQ_HANDLER (1)
497 /* @brief Has timer enable control. */
498 #define FSL_FEATURE_PIT_HAS_MDIS (1)
499 
500 /* PMU module features */
501 
502 /* @brief PMU supports lower power control. */
503 #define FSL_FEATURE_PMU_HAS_LOWPWR_CTRL (0)
504 
505 /* PWM module features */
506 
507 /* @brief If EflexPWM has module A channels (outputs). */
508 #define FSL_FEATURE_PWM_HAS_CHANNELA (1)
509 /* @brief If EflexPWM has module B channels (outputs). */
510 #define FSL_FEATURE_PWM_HAS_CHANNELB (1)
511 /* @brief If EflexPWM has module X channels (outputs). */
512 #define FSL_FEATURE_PWM_HAS_CHANNELX (1)
513 /* @brief Number of submodules in each EflexPWM module. */
514 #define FSL_FEATURE_PWM_SUBMODULE_COUNT (4U)
515 
516 /* PXP module features */
517 
518 /* @brief PXP module has dither engine. */
519 #define FSL_FEATURE_PXP_HAS_DITHER (0)
520 /* @brief PXP module supports repeat run */
521 #define FSL_FEATURE_PXP_HAS_EN_REPEAT (1)
522 /* @brief PXP doesn't have CSC */
523 #define FSL_FEATURE_PXP_HAS_NO_CSC2 (1)
524 /* @brief PXP doesn't have LUT */
525 #define FSL_FEATURE_PXP_HAS_NO_LUT (1)
526 
527 /* RTWDOG module features */
528 
529 /* @brief Watchdog is available. */
530 #define FSL_FEATURE_RTWDOG_HAS_WATCHDOG (1)
531 /* @brief RTWDOG_CNT can be 32-bit written. */
532 #define FSL_FEATURE_RTWDOG_HAS_32BIT_ACCESS (1)
533 
534 /* SAI module features */
535 
536 /* @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). */
537 #define FSL_FEATURE_SAI_FIFO_COUNT (32)
538 /* @brief Receive/transmit channel number (register bit fields TCR3[TCE], RCR3[RCE], registers TDRn and RDRn). */
539 #define FSL_FEATURE_SAI_CHANNEL_COUNTn(x) \
540  (((x) == SAI1) ? (4) : \
541  (((x) == SAI2) ? (1) : \
542  (((x) == SAI3) ? (1) : (-1))))
543 /* @brief Maximum words per frame (register bit fields TCR3[WDFL], TCR4[FRSZ], TMR[TWM], RCR3[WDFL], RCR4[FRSZ], RMR[RWM]). */
544 #define FSL_FEATURE_SAI_MAX_WORDS_PER_FRAME (32)
545 /* @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]). */
546 #define FSL_FEATURE_SAI_HAS_FIFO_COMBINE_MODE (1)
547 /* @brief Has packing of 8-bit and 16-bit data into each 32-bit FIFO word (register bit fields TCR4[FPACK], RCR4[FPACK]). */
548 #define FSL_FEATURE_SAI_HAS_FIFO_PACKING (1)
549 /* @brief Configures when the SAI will continue transmitting after a FIFO error has been detected (register bit fields TCR4[FCONT], RCR4[FCONT]). */
550 #define FSL_FEATURE_SAI_HAS_FIFO_FUNCTION_AFTER_ERROR (1)
551 /* @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]). */
552 #define FSL_FEATURE_SAI_HAS_ON_DEMAND_MODE (1)
553 /* @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]. */
554 #define FSL_FEATURE_SAI_HAS_CLOCKING_MODE (0)
555 /* @brief Has register for configuration of the MCLK divide ratio (register bit fields MDR[FRACT], MDR[DIVIDE]). */
556 #define FSL_FEATURE_SAI_HAS_MCLKDIV_REGISTER (0)
557 /* @brief Interrupt source number */
558 #define FSL_FEATURE_SAI_INT_SOURCE_NUM (2)
559 /* @brief Has register of MCR. */
560 #define FSL_FEATURE_SAI_HAS_MCR (0)
561 /* @brief Has bit field MICS of the MCR register. */
562 #define FSL_FEATURE_SAI_HAS_NO_MCR_MICS (1)
563 /* @brief Has register of MDR */
564 #define FSL_FEATURE_SAI_HAS_MDR (0)
565 /* @brief Has support the BCLK bypass mode when BCLK = MCLK. */
566 #define FSL_FEATURE_SAI_HAS_BCLK_BYPASS (0)
567 /* @brief Has DIV bit fields of MCR register (register bit fields MCR[DIV]. */
568 #define FSL_FEATURE_SAI_HAS_MCR_MCLK_POST_DIV (0)
569 /* @brief Support Channel Mode (register bit fields TCR4[CHMOD]). */
570 #define FSL_FEATURE_SAI_HAS_CHANNEL_MODE (1)
571 
572 /* SEMC module features */
573 
574 /* @brief Has WDH time in NOR controller (register bit field NORCR2[WDH]). */
575 #define FSL_FEATURE_SEMC_HAS_NOR_WDH_TIME (1)
576 /* @brief Has WDS time in NOR controller (register bit field NORCR2[WDS]).) */
577 #define FSL_FEATURE_SEMC_HAS_NOR_WDS_TIME (1)
578 
579 /* SNVS module features */
580 
581 /* @brief Has Secure Real Time Counter Enabled and Valid (bit field LPCR[SRTC_ENV]). */
582 #define FSL_FEATURE_SNVS_HAS_SRTC (1)
583 
584 /* SRC module features */
585 
586 /* @brief There is MASK_WDOG3_RST bit in SCR register. */
587 #define FSL_FEATURE_SRC_HAS_SCR_MASK_WDOG3_RST (1)
588 /* @brief There is MIX_RST_STRCH bit in SCR register. */
589 #define FSL_FEATURE_SRC_HAS_SCR_MIX_RST_STRCH (0)
590 /* @brief There is DBG_RST_MSK_PG bit in SCR register. */
591 #define FSL_FEATURE_SRC_HAS_SCR_DBG_RST_MSK_PG (1)
592 /* @brief There is WDOG3_RST_OPTN bit in SCR register. */
593 #define FSL_FEATURE_SRC_HAS_SCR_WDOG3_RST_OPTN (0)
594 /* @brief There is CORES_DBG_RST bit in SCR register. */
595 #define FSL_FEATURE_SRC_HAS_SCR_CORES_DBG_RST (0)
596 /* @brief There is MTSR bit in SCR register. */
597 #define FSL_FEATURE_SRC_HAS_SCR_MTSR (0)
598 /* @brief There is CORE0_DBG_RST bit in SCR register. */
599 #define FSL_FEATURE_SRC_HAS_SCR_CORE0_DBG_RST (1)
600 /* @brief There is CORE0_RST bit in SCR register. */
601 #define FSL_FEATURE_SRC_HAS_SCR_CORE0_RST (1)
602 /* @brief There is LOCKUP_RST bit in SCR register. */
603 #define FSL_FEATURE_SRC_HAS_SCR_LOCKUP_RST (0)
604 /* @brief There is SWRC bit in SCR register. */
605 #define FSL_FEATURE_SRC_HAS_SCR_SWRC (0)
606 /* @brief There is EIM_RST bit in SCR register. */
607 #define FSL_FEATURE_SRC_HAS_SCR_EIM_RST (0)
608 /* @brief There is LUEN bit in SCR register. */
609 #define FSL_FEATURE_SRC_HAS_SCR_LUEN (0)
610 /* @brief There is no WRBC bit in SCR register. */
611 #define FSL_FEATURE_SRC_HAS_NO_SCR_WRBC (1)
612 /* @brief There is no WRE bit in SCR register. */
613 #define FSL_FEATURE_SRC_HAS_NO_SCR_WRE (1)
614 /* @brief There is SISR register. */
615 #define FSL_FEATURE_SRC_HAS_SISR (0)
616 /* @brief There is RESET_OUT bit in SRSR register. */
617 #define FSL_FEATURE_SRC_HAS_SRSR_RESET_OUT (0)
618 /* @brief There is WDOG3_RST_B bit in SRSR register. */
619 #define FSL_FEATURE_SRC_HAS_SRSR_WDOG3_RST_B (1)
620 /* @brief There is JTAG_SW_RST bit in SRSR register. */
621 #define FSL_FEATURE_SRC_HAS_SRSR_JTAG_SW_RST (1)
622 /* @brief There is SW bit in SRSR register. */
623 #define FSL_FEATURE_SRC_HAS_SRSR_SW (0)
624 /* @brief There is IPP_USER_RESET_B bit in SRSR register. */
625 #define FSL_FEATURE_SRC_HAS_SRSR_IPP_USER_RESET_B (1)
626 /* @brief There is SNVS bit in SRSR register. */
627 #define FSL_FEATURE_SRC_HAS_SRSR_SNVS (0)
628 /* @brief There is CSU_RESET_B bit in SRSR register. */
629 #define FSL_FEATURE_SRC_HAS_SRSR_CSU_RESET_B (1)
630 /* @brief There is LOCKUP bit in SRSR register. */
631 #define FSL_FEATURE_SRC_HAS_SRSR_LOCKUP (0)
632 /* @brief There is LOCKUP_SYSRESETREQ bit in SRSR register. */
633 #define FSL_FEATURE_SRC_HAS_SRSR_LOCKUP_SYSRESETREQ (1)
634 /* @brief There is POR bit in SRSR register. */
635 #define FSL_FEATURE_SRC_HAS_SRSR_POR (0)
636 /* @brief There is IPP_RESET_B bit in SRSR register. */
637 #define FSL_FEATURE_SRC_HAS_SRSR_IPP_RESET_B (1)
638 /* @brief There is no WBI bit in SCR register. */
639 #define FSL_FEATURE_SRC_HAS_NO_SRSR_WBI (1)
640 
641 /* SCB module features */
642 
643 /* @brief L1 ICACHE line size in byte. */
644 #define FSL_FEATURE_L1ICACHE_LINESIZE_BYTE (32)
645 /* @brief L1 DCACHE line size in byte. */
646 #define FSL_FEATURE_L1DCACHE_LINESIZE_BYTE (32)
647 
648 /* TRNG module features */
649 
650 /* @brief TRNG has no TRNG_ACC bitfield. */
651 #define FSL_FEATURE_TRNG_HAS_NO_TRNG_ACC (1)
652 
653 /* USBHS module features */
654 
655 /* @brief EHCI module instance count */
656 #define FSL_FEATURE_USBHS_EHCI_COUNT (2)
657 /* @brief Number of endpoints supported */
658 #define FSL_FEATURE_USBHS_ENDPT_COUNT (8)
659 
660 /* USBPHY module features */
661 
662 /* @brief USBPHY contain DCD analog module */
663 #define FSL_FEATURE_USBPHY_HAS_DCD_ANALOG (0)
664 /* @brief USBPHY has register TRIM_OVERRIDE_EN */
665 #define FSL_FEATURE_USBPHY_HAS_TRIM_OVERRIDE_EN (0)
666 
667 /* USDHC module features */
668 
669 /* @brief Has external DMA support (VEND_SPEC[EXT_DMA_EN]) */
670 #define FSL_FEATURE_USDHC_HAS_EXT_DMA (0)
671 /* @brief Has HS400 mode (MIX_CTRL[HS400_MODE]) */
672 #define FSL_FEATURE_USDHC_HAS_HS400_MODE (0)
673 /* @brief Has SDR50 support (HOST_CTRL_CAP[SDR50_SUPPORT]) */
674 #define FSL_FEATURE_USDHC_HAS_SDR50_MODE (1)
675 /* @brief Has SDR104 support (HOST_CTRL_CAP[SDR104_SUPPORT]) */
676 #define FSL_FEATURE_USDHC_HAS_SDR104_MODE (1)
677 /* @brief USDHC has reset control */
678 #define FSL_FEATURE_USDHC_HAS_RESET (0)
679 /* @brief USDHC has no bitfield WTMK_LVL[WR_BRST_LEN] and WTMK_LVL[RD_BRST_LEN] */
680 #define FSL_FEATURE_USDHC_HAS_NO_RW_BURST_LEN (0)
681 
682 /* XBARA module features */
683 
684 /* @brief Number of interrupt requests. */
685 #define FSL_FEATURE_XBARA_INTERRUPT_COUNT (4)
686 
687 #endif /* _MIMXRT1052_FEATURES_H_ */
688 


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:13:56